Difference between revisions of "Docker"
From Logic Wiki
(→Internal Docker URIs) |
|||
| Line 23: | Line 23: | ||
To access another docker container in the same machine (ie port 3003) | To access another docker container in the same machine (ie port 3003) | ||
| − | * MAC : http://host.docker.internal:3003 | + | * MAC : |
| − | * LINUX : http://172.17.0.1:3003 | + | http://host.docker.internal:3003 |
| + | * LINUX : | ||
| + | http://172.17.0.1:3003 | ||
Revision as of 11:02, 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