-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
prettyPrintInfo
to return multiple errors
This allows it to print what it can, rather than aborting half way when a bad security context is hit. Signed-off-by: Ian Campbell <[email protected]>
- Loading branch information
Ian Campbell
committed
Jan 25, 2019
1 parent
160f5a5
commit 9145a51
Showing
4 changed files
with
87 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
Client | ||
------ | ||
Debug Mode: false | ||
|
||
Daemon | ||
------ | ||
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 | ||
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 | ||
|
||
ERROR: an error happened | ||
ERROR: invalid empty security option |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"SystemStatus":null,"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["foo="],"Warnings":null,"DaemonErrors":["an error happened"],"ClientInfo":{"Debug":false,"Warnings":null}} |