All Articles

Docker Notes

Docker:

p.s. sometimes need do
a. remove all containers/images
https://forums.meteor.com/t/aws-opsworks-meteor-docker-deployment/1937/82 and

b.restart docker machine, and everything becomes running normal.
https://coderwall.com/p/ewk0mq/stop-remove-all-docker-containers

  1. docker stop $(docker ps -a -q)
  2. docker rm $(docker ps -a -q)
  3. docker rmi -f docker images -aq

Docker-compose:

docker-compose rm
docker-compose build
docker-compose up —force-recreate

Published 22 Jun 2016