Difference between revisions of "Docker"
From Logic Wiki
| Line 20: | Line 20: | ||
Restart the containers using the following command: | Restart the containers using the following command: | ||
docker-compose up -d | docker-compose up -d | ||
| + | == Internal Docker URIs == | ||
| + | To access another docker container in the same machine (ie port 3003) | ||
| + | |||
| + | * MAC : http://host.docker.internal:3003 | ||
| + | * LINUX : http://172.17.0.1:3003 | ||
Revision as of 11:01, 6 April 2022
Contents
Local Registry
Setup Instructions : https://docs.docker.com/registry/deploying/
CI with Docker
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 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)
- MAC : http://host.docker.internal:3003
- LINUX : http://172.17.0.1:3003