Spring Boot study notes (xiv) Docker

1, the core concept

 

 

Installation Docker 2, under Linux

As an example to centos

1) docker claim centos kernel version than 3.10

Command: uname -r View version

2) Installation Docker

Command: yum install docker

3) Start / Stop Docker

Start command: systemctl start docker

Stop command: systemctl stop docker

4) Check the version number to check whether a successful start

Command: docker -v

If an error occurs during startup reference ==> the Click here Wallpaper

5) Let docker boot

命令:systemctl enable docker

 

3, common operations

 

Mirror query can also go to the official website of the hub ==> the Click here Wallpaper

 2) container operation

 

Guess you like

Origin www.cnblogs.com/qwertiLH/p/12364767.html