![]() ![]() docker exec -it 8cd4cb427637 /bin/bash apt-get update apt-get install docker. ![]() docker - how to run x desktop in a container 22' sudo: source: command not found' 163-bash: sudo: command not found. docker run -v /var/run/docker.sock:/var/run/docker.sock /tail -f /dev/null I also had to ssh to the container and installed docker as well. The Overflow Blog How ICs can get recognition for their work on big projects. How can I execute my docker-compose.yml file without any issues and start my containers. I has this issue fixed by running the following command by sharing host machine's docker.sock to container. docker-compose up - I am executing this command right in the folder where docker-compose.yml file is presentĪnd I get the below error, sudo. So when I finally try to execute my docker-compose.yml file, I get the below error sudo. The solution for this is to install Docker first in your operating system. I recently upgraded Docker Desktop for Mac to version 2.2.0.0, and now when try to run a docker-machine command I am getting an error: docker-machine -version docker-machine: command not fou. In addition, I made the files under both paths executable by using "chmod +x" command under respective folders. The reason for this error is that Docker is not installed in your operating system. So, the below command find /usr/bin/ -name "docker-compose" I was referring the STACK OVERFLOW posts and was able to find something regarding the PATH variable, so I have also placed my docker-compose in /usr/bin/ path as well. sudo docker -version Docker version 20.10. But when I try to run docker-compose command Im getting this message: Code. # returns docker-compose version 1.24.0, build 0aa59064 The last lines of installation dialog are: Code. ![]() I have my docker-compose installed and please find below the details which docker-compose I would like to run a docker-compose file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |