This updates the pretty-print format of docker info to provide more
details on installed plugins, to help users find where a specific
plugin is installed (e.g. to update it, or to uninstall it).
Before this patch:
```bash
Client:
Context: desktop-linux
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., v0.8.2)
compose: Docker Compose (Docker Inc., v2.4.1)
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc., 0.6.0)
scan: Docker Scan (Docker Inc., v0.17.0)
Server:
...
```
With this patch applied:
```bash
docker info
Client:
Context: desktop-linux
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.8.2
Path: /usr/local/lib/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.4.1
Path: /usr/local/lib/docker/cli-plugins/docker-compose
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: /usr/local/lib/docker/cli-plugins/docker-sbom
scan: Docker Scan (Docker Inc.)
Version: v0.17.0
Path: /usr/local/lib/docker/cli-plugins/docker-scan
Server:
...
```
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
Client:
|
|
Context: default
|
|
Debug Mode: false
|
|
Plugins:
|
|
goodplugin: unit test is good (ACME Corp)
|
|
Version: 0.1.0
|
|
Path: /path/to/docker-goodplugin
|
|
unversionedplugin: this plugin has no version (ACME Corp)
|
|
Path: /path/to/docker-unversionedplugin
|
|
|
|
Server:
|
|
Containers: 0
|
|
Running: 0
|
|
Paused: 0
|
|
Stopped: 0
|
|
Images: 0
|
|
Server Version: 17.06.1-ce
|
|
Storage Driver: aufs
|
|
Root Dir: /var/lib/docker/aufs
|
|
Backing Filesystem: extfs
|
|
Dirs: 0
|
|
Dirperm1 Supported: 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 logentries splunk syslog
|
|
Swarm: inactive
|
|
Runtimes: runc
|
|
Default Runtime: runc
|
|
Init Binary: docker-init
|
|
containerd version: 6e23458c129b551d5c9871e5174f6b1b7f6d1170
|
|
runc version: 810190ceaa507aa2727d7ae6f4790c76ec150bd2
|
|
init version: 949e6fa
|
|
Security Options:
|
|
apparmor
|
|
seccomp
|
|
Profile: default
|
|
Kernel Version: 4.4.0-87-generic
|
|
Operating System: Ubuntu 16.04.3 LTS
|
|
OSType: linux
|
|
Architecture: x86_64
|
|
CPUs: 2
|
|
Total Memory: 1.953GiB
|
|
Name: system-sample
|
|
ID: EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX
|
|
Docker Root Dir: /var/lib/docker
|
|
Debug Mode: true
|
|
File Descriptors: 33
|
|
Goroutines: 135
|
|
System Time: 2017-08-24T17:44:34.077811894Z
|
|
EventsListeners: 0
|
|
Registry: https://index.docker.io/v1/
|
|
Labels:
|
|
provider=digitalocean
|
|
Experimental: false
|
|
Insecure Registries:
|
|
127.0.0.0/8
|
|
Live Restore Enabled: false
|
|
Default Address Pools:
|
|
Base: 10.123.0.0/16, Size: 24
|
|
|