USEFUL DOCKER REFERENCE FOR CHINA
- Install Docker - Quick Start| Alibaba Cloud Documentation Center
- how to set up docker on an ubuntu in china
docker compose in china:
- https://get.daocloud.io/#install-compose
- http://www.widuu.com/docker/compose/install.html FOUND: best way to install is by pip ref: Install Docker Compose | Docker Documentation
Installing docker compose
- install pip
sudo apt install python-pip
- use pip to install docker
sudo pip install docker-compose
Set Docker Registry
- Create a file in
/etc/docker/daemon.json
if doesn’t exist yet - Add this line to the JSON
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
- Run
service docker restart
