1、http-shell, 通过http方式运行docker命令,无权限判断
2、通过docker in docker的方式运行http-shell
docker rm -f dind-http-shell;\
docker run -d --restart=always --network common-all --name dind-http-shell --privileged \
-v /Applications/code/data/docker/dind-http-shell/docker/:/var/lib/docker/ \
-p 8387:8080 \
adockero/docker:dind-http-shell
# 或者
docker volume create docker-in-docker;
docker rm -f dind-http-shell;\
docker run -d --restart=always --network common-all --name dind-http-shell --privileged \
-v docker-in-docker:/var/lib/docker/ \
-p 8387:8080 \
adockero/docker:dind-http-shell
Content type
Image
Digest
sha256:9b21a8782…
Size
195.6 MB
Last updated
3 months ago
docker pull adockero/docker:dind-sshd-ubuntu