docker build -t image_name:tag .
docker run -it --name container_name -d image_name:tag
docker exec -it container_name /bin/bash
docker stop container_name
docker rm -f container_name
docker build -t image_name:tag .
docker run -it --name container_name -d image_name:tag
docker exec -it container_name /bin/bash
docker stop container_name
docker rm -f container_name
本文标题:docker basic command
本文链接:https://www.haomeiwen.com/subject/jgrbxktx.html
网友评论