Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 752 Bytes

issues.md

File metadata and controls

32 lines (24 loc) · 752 Bytes

add user to docker group

add user to docker group

sudo usermod -aG ${USER} docker

docker compose 修改后不生效

重新创建容器即可

docker-compose up -d servie

Linux Config Docker Mirrors

# macOS Docker
$ mkdir -p ~/.docker
# Linux Docker
$ sudo mkdir -p /etc/docker
$ sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://muehonsf.mirror.aliyuncs.com"]
}
EOF
$ sudo systemctl daemon-reload
$ sudo systemctl restart docker

学习文档

Docker 配置详解

Docker 入门教程

Docker 微服务教程