A brief description of common operations of docker

get mirror

$ docker pull ubuntu:14.04

$ docker pull ubuntu
This command actually downloads the ubuntu:latest image.


View mirror information

$ docker images

search mirror

$ docker search nginx

delete mirror

$ docker rmi myubuntu:latest

Create an image

$ docker commit

run image

$ docker run -it ubuntu:14.04 /bin/bash

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324627477&siteId=291194637