docker入門操做

運行第一個容器 docker run -i -t ubuntu /bin/bash 使用第一個容器 檢查容器的主機名:hostname cat /etc/hosts ip a 檢查容器的進程 ps -aux 在第一個容器中安裝軟件包 apt-get update && apt-get install vim docker ps -a 容器命名 docker run --name mycontain
相關文章
相關標籤/搜索