Skip to content

darebeat/docker-center

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

A docker commom images build and deploy.

env install

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

build

Some docker images example for build.

deploy

Some docker instance deploy daily.

change the local mirror for fast pull speed

cat << eof > /etc/docker/daemon.json
{
  "registry-mirrors": [
    "https://7zcq3x2s.mirror.aliyuncs.com",
    "https://docker.mirrors.ustc.edu.cn"
  ]
}
eof

create docker share networks

docker network create --driver=bridge --subnet=172.10.0.0/16 deploy
docker network ls 
docker network inspect deploy
networks:
 deploy:
  external: true

Q&A

like/star