Docker

From Logic Wiki
Jump to: navigation, search


Local Registry

Setup Instructions : https://docs.docker.com/registry/deploying/

CI with Docker

https://circleci.com

Other 3rd Party registries

For 20 private repositories: https://www.canister.io/

Delete containers / images

Stop the container(s) using the following command:

docker-compose down

Delete all containers using the following command:

docker rm -f $(docker ps -a -q)

Delete all images

docker rmi $(docker images -a -q)

Delete all volumes using the following command:

docker volume rm $(docker volume ls -q)

Restart the containers using the following command:

docker-compose up -d

Internal Docker URIs

To access another docker container in the same machine (ie port 3003)

Volumes

docker volume inspect <VOLUME_NAME>
  • MAC :
http://host.docker.internal:3003
  • LINUX :
http://172.17.0.1:3003