**docker** couldn't be invoked without sudo rights inside the created container. It should be refactored.