Skip to content

Latest commit

 

History

History
24 lines (11 loc) · 300 Bytes

Docker.md

File metadata and controls

24 lines (11 loc) · 300 Bytes

常用命令

docker images

docker ps -a

docker run -it -p 80:80 -v /d/data:/usr/data imageID --name containerName /bin/bash

docker exec containerID -it /bin/bash

docker update containerID --restart=always

docker restart containerID

docker logs containerID

docker stats