docker run -p 8000:8000 -it registry.cn-hangzhou.aliyuncs.com/capeic_sbw/ctfd:1.0
测试
在物理机访问 0.0.0.0:8000 即可,第一次登陆设置管理员账号密码,下图是已经设置过的
管理
重命名镜像
1
docker tag ctfd:latest registry.cn-hangzhou.aliyuncs.com/capeic_sbw/ctfd:1.0
查看docker进程
1 2 3 4 5 6 7 8
$docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d9f5eefb8d62 pwn_deploy_chroot:latest "/service.sh" 6 days ago Exited (255) 5 days ago 0.0.0.0:10000-10003->10000-10003/tcp pwn_deploy_chroot 846ac8b76082 pwn_docker:16.04 "/start.sh" 10 days ago Exited (255) 9 days ago 0.0.0.0:9997->9999/tcp musing_leakey fd531742a5a3 ctfd:latest "/opt/CTFd/docker-en…" 11 days ago Up 8 seconds 0.0.0.0:8000->8000/tcp affectionate_khayyam 36aeab92fea7 registry.cn-hangzhou.aliyuncs.com/liujunjie/angr "/bin/sh -c 'su - an…" 12 days ago Exited (255) 2 days ago mystifying_ardinghelli 833d79e2e12e ctf "/bin/sh -c 'exec /b…" 4 months ago Exited (130) 4 months ago epic_sutherland a55693666b02 ctf "/bin/sh -c 'exec /b…" 4 months ago Exited (143) 4 months ago