`

Docker常用命令

阅读更多

1,查看Docker版本

> docker -v
Docker version 18.09.0, build 4d60db4

 

2,查看Docker服务状态

> service docker status
Redirecting to /bin/systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since Mon 2018-11-19 19:43:32 CST; 4min 25s ago
     Docs: https://docs.docker.com
 Main PID: 29089 (dockerd)

 

3,启动Docker服务

> service docker start

 

4,查找镜像

> docker search mariadb

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics