这个项目的Docker重打包:https://github.com/eysp/portainer-ce
推荐用作者的docker镜像:https://hub.docker.com/r/6053537/portainer-ce
本镜像不再更新。
sudo docker run -d \
--name=portainer \
--hostname=portainer \
--restart=on-failure:3 \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /volume1/docker/portainer:/data \
-e TZ=Asia/Shanghai \
-e AGENT_SECRET=1111111111111111111 \
--net=host \
--log-driver json-file \
--log-opt max-size=5m \
--log-opt max-file=3 \
registry.cn-hangzhou.aliyuncs.com/rastyu/portainer-ce:latest \
--http-disabled \
--templates http://192.168.10.5:2200/templates.json
Content type
Image
Digest
sha256:339c14607…
Size
66.2 MB
Last updated
3 months ago
docker pull rastyu/portainer-ce