{
"registry-mirrors":["https://auuzc4t8.mirror.aliyuncs.com"],
"insecure-registries":["0.0.0.0/0"],
"log-driver":"json-file",
"log-opts": {"max-size":"1024m", "max-file":"3"}
}
docker run -d \
-p 9001:9001 \
--name portainer_agent \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/docker/volumes:/var/lib/docker/volumes \
portainer/agent:2.19.1