Docker常用命令

docker pull gcr.io/google_containers/pause-amd64

docker commit -m ‘message’

docker push

docker images

docker rmi imageId

docker run -i -t ubuntu /bin/bash

docker run –name demo -d ubuntu

docker exec -i -t containerId /bin/bash

docker stop containerId

docker rm containerId

docker save gcr.io/google_containers/pause-amd64 -o pause.tar

docker load -i pause.tar