Issue: Can not stop docker containers, whenever I try to stop containers I get the following Error message,
OS Version/build: Ubuntu 16.04 | Docker Version 17.09.0-ce, build afdb6d4 | Docker Compose version 1.17.1, build 6d101fb
Steps to reproduce:
- Created a project with Dockerfile and docker-compose.yml. docker-compose.yml is of version 3.
- Images is built successfully with either
docker build -t yattya_docker .
ordocker-compose up --build
- Containers boots up and runs successfully.
4 .Try to stop docker compose withdocker-compose down
Docker version 17.09.0-ce, build afdb6d4 docker-compose version 1.8.0. Tried re-installing docker-ce with apt-get purge -auto-remove. Restarting docker service with sudo service docker restart works but stopping the service every time I have to use the docker-compose down command is not a fix.
Docker Not Stopping Container
Docker Not Sudoku Puzzles
I ask because reading the docks i am unable to make sense of which one is client only and am concerned that 'sudo apt install docker' or 'sudo apt install docker-io' commands try and install the ubuntu docker daemon/service which ends up tromping on the docker for windows symbolic link's abilities to be the service that the client install sees. Extended description. The docker export command does not export the contents of volumes associated with the container. If a volume is mounted on top of an existing directory in the container, docker export will export the contents of the underlying directory, not the contents of the volume. Yet, when I try to run docker-compose with sudo I get the following (using sudo with docker is fine) sudo: docker-compose: command not found I suppose there are differing definitions of what 'installed' means. I have been using docker-compose on the same computer that claims it is not installed.