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, …):

  • Should Fig be on inside of Vagrant VM or outside for OSX?
  • Docker container not started because rabbit is out of disc space
  • Docker Pull taking unexpectedly long time via Ansible
  • How to start selenium hub and one linked node via docker-compose instead of using docker?
  • Connecting Tomcat container to mysql container: JDBCConnectionException: Unable to acquire JDBC Connection
  • Create JSON using jq from pipe-separated keys and values in bash
  • 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.

  • Saving function output into a variable named in an argument
  • Bidirectionnal Sync with shell/terminal and actual code in Codenvy
  • Docker 1.5 on IPv6 only host
  • Keep Data on Embedded database during deploy
  • building docker 0.7.2 from sources on Ubuntu 12.04
  • How do I specify a node for a docker stack container?
  • 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.