安装配置Docker
Opened this issue · 0 comments
fanhuadesenlinnn commented
ArchLinux 安装Docker
pacman --noconfirm -S docker-compose docker
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://r55z182o.mirror.aliyuncs.com"]
}
EOF
systemctl daemon-reload
systemctl restart docker
Cenots7安装Docker
# 安装Docker
curl -sSL https://get.docker.com/ | sh
# 安装Docker Compose
curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://r55z182o.mirror.aliyuncs.com"]
}
EOF
systemctl daemon-reload
systemctl restart docker