布置比赛平台用,怕忘了 web 12345678910111213# 使用tutumdocker pull tutum/lamp# 使用run创建实例 -P可以使用随机端口可以通过--name设定名称# https://www.runoob.com/docker/docker-run-command.htmldocker run -d -p 7001:80 tutum/lamp# 使用bash进入实例 2da是piddocker exec -it 2da /bin/bash# 复制文件docker cp index.php 8db:/var/html/index1.php# 查看现有实例docker ps -a# 删除docker container rm 0a990 -f 放置web题,放到/var/www/html下即可 pwn 1234# 使用当前目录的dockerfile创建镜像docker build -t tjuctfwarmup .# 创建实例docker run -d -p "0.0.0.0:7000:8888" -h "tjuctfwarmup" --name="tjuctfwarmup" tjuctfwarmup