A docker commom images build and deploy.
curl -sSL https://get.daocloud.io/docker | sh
curl -L "https://github.com/docker/compose/releases/download/1.17.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Some docker images example for build.
Some docker instance deploy daily.
cat << eof > /etc/docker/daemon.json
{
"registry-mirrors": [
"https://7zcq3x2s.mirror.aliyuncs.com",
"https://docker.mirrors.ustc.edu.cn"
]
}
eof
docker network create --driver=bridge --subnet=172.10.0.0/16 deploy
docker network ls
docker network inspect deploy
networks:
deploy:
external: true