new
This commit is contained in:
@ -42,10 +42,15 @@ sudo yum install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin d
|
||||
设置日志大小
|
||||
|
||||
vim /etc/docker/daemon.json
|
||||
|
||||
<!--
|
||||
{
|
||||
"log-opts": {"max-size":"1g", "max-file":"3"},
|
||||
"registry-mirrors": ["https://dockerproxy.net"]
|
||||
} -->
|
||||
|
||||
{
|
||||
"log-opts": {"max-size":"1g", "max-file":"3"},
|
||||
"registry-mirrors": ["https://docker.hlmirror.com"]
|
||||
}
|
||||
|
||||
systemctl reload docker
|
||||
|
Reference in New Issue
Block a user