Docker基本命令(2)

简介: Docker基本命令(2)

查看版本


[root@localhost ~]# docker version
Client:              #客户端
 Version:           18.09.4    #docker版本
 API version:       1.39     #Docker接口版本
 Go version:        go1.10.8  # Docker Go版本
 Git commit:        d14af54266
 Built:             Wed Mar 27 18:34:51 2019
 OS/Arch:           linux/amd64  #  系统
 Experimental:      false        # 是否为企业版
Server: Docker Engine - Community   
 Engine:
  Version:          18.09.4
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.8
  Git commit:       d14af54
  Built:            Wed Mar 27 18:04:46 2019
  OS/Arch:          linux/amd64
  Experimental:     false
You have new mail in /var/spool/mail/root


详细信息


[root@localhost ~]# docker info
Containers: 0   #容器个数
 Running: 0    # 运行
 Paused: 0    # 暂停
 Stopped: 0   # 停止
Images: 0      # 镜像
Server Version: 18.09.4  #服务器版本
Storage Driver: overlay2  #存储驱动后端 很重要  分层构建和联合挂载 需要专门的文件驱动在之前可能是使用的DM 性能奇差
 Backing Filesystem: xfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:         #  插件
 Volume: local         #卷
 Network: bridge host macvlan null overlay  # 网络插件
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog  #日志插件
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: bb71b10fd8f58240ca47fbb579b9d1028eea7c84
runc version: 2b18fe1d885ee5083ef9f0838fee39b62d653e30
init version: fec3683
Security Options:  #安全选项
 seccomp     
  Profile: default  #默认选项
Kernel Version: 3.10.0-957.10.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 3.683GiB
Name: localhost.localdomain
ID: BUTI:XQW2:K5UQ:SNVB:EC67:GBOV:LHZD:FI2G:UFL2:TU4H:FSCN:PQAU
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Registry Mirrors:
 https://registry.docker-cn.com/  #加速镜像配置
Live Restore Enabled: false
Product License: Community Engine
相关文章
|
1月前
|
前端开发 关系型数据库 MySQL
IDEA集成Docker插件打包服务镜像与运行【附Docker命令汇总】
IDEA集成Docker插件打包服务镜像与运行【附Docker命令汇总】
|
2天前
|
存储 Ubuntu 安全
Docker容器常用命令
Docker容器常用命令
10 1
|
3天前
|
监控 Docker 容器
Docker从入门到精通:Docker log 命令学习
了解 Docker 日志管理对容器监控至关重要。`docker logs` 命令用于查看和管理容器日志,例如,`docker logs <container_name>` 显示容器日志,`-f` 或 `--follow` 实时跟踪日志,`--tail` 显示指定行数,`--timestamps` 添加时间戳,`--since` 按日期筛选。Docker 支持多种日志驱动,如 `syslog`,可通过 `--log-driver` 配置。有效管理日志能提升应用程序的稳定性和可维护性。
5 0
|
17天前
|
应用服务中间件 Docker 容器
docker 镜像常用命令
docker 镜像常用命令
38 0
|
17天前
|
Linux Docker 容器
docker 容器常用命令
docker 容器常用命令
13 0
|
25天前
|
JSON 缓存 程序员
Docker常用命令以及生命周期管理
Docker常用命令以及生命周期管理
45 2
|
27天前
|
开发工具 Docker 索引
Docker解决没有vi、vim等命令
Docker解决没有vi、vim等命令
52 0
|
1月前
|
监控 数据可视化 虚拟化
Docker容器常用命令笔记分享
Docker容器常用命令笔记分享
51 2
|
1月前
|
NoSQL 应用服务中间件 nginx
Docker命令实战
Docker命令实战
61 1