Docker Compose – Remove dangling service

While getting to know docker and docker compose, I removed a volume that was still in use by docker compose.

Now, docker compose prints the following error message for everything I try to do (stop, start, ps, rm, …):

  • docker ubuntu container: shell linked to bash still starts shell
  • docker compose won't mount the external volume
  • docker like “links” on Kubernetes
  • No /var/run/docker.sock on OS X
  • Load balancing is not working properly
  • Is there any way to obtain detailed logging info when executing 'docker stack deploy'?
  • ERROR: Named volume “db_data:/var/lib/mysql:rw” is used in service “db” but no declaration was found in the volumes section.

    Therefore, I am now unable to work with docker compose in any way. As I am out of ideas, I am reaching out for some support.

  • Let's encrypt 502 bad gateway docker
  • Docker-machine resource limit
  • Using a Makefile to get latest git tag
  • error: repository [dockerimage] not found: does not exist or no pull access-docker
  • Memory and CPU usage definition in docker cadvisor
  • How to change docker installation directory in centos 7 with docker 1.13 version
  • One Solution collect form web for “Docker Compose – Remove dangling service”

    Checkout this excellent post about how to clean Docker leftovers (containers / volumes..)

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.