September 2017
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

September 2017
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

docker commonly used command

docker commonly used command

1. View the docker information (version, info)

View the docker version docker version

Displays information about the docker system docker info

2. the operation of the image (search, pull, images, rmi, history)

Retrieve image docker search image_name

Download image docker pull image_name

List the mirror list; -a, –all […]

docker export mirroring and import mirroring

docker export mirroring and import mirroring

Export Mirror:

docker save IMAGENAME | bzip2 -9 -c>img.tar.bz2

Import Mirror (for one machine):

bzip2 -d -c