Created
November 15, 2017 01:19
-
-
Save alena1108/ee6c3c1d09479ed7266967db7a74ed59 to your computer and use it in GitHub Desktop.
kubectl
This file contains hidden or 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
root@alena2:~# docker inspect d659ccc00732 | |
[ | |
{ | |
"Id": "d659ccc00732e952fd441174172e9c1c0430269b59c62d573d4263258c43ce50", | |
"Created": "2017-11-15T01:17:01.065979957Z", | |
"Path": "/tmp/entrypoint.sh", | |
"Args": [ | |
"apply -f /network/.yaml" | |
], | |
"State": { | |
"Status": "created", | |
"Running": false, | |
"Paused": false, | |
"Restarting": false, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 0, | |
"ExitCode": 128, | |
"Error": "invalid header field value \"oci runtime error: container_linux.go:247: starting container process caused \\\"process_linux.go:295: setting oom score for ready process caused \\\\\\\"write /proc/3517/oom_score_adj: invalid argument\\\\\\\"\\\"\\n\"", | |
"StartedAt": "0001-01-01T00:00:00Z", | |
"FinishedAt": "0001-01-01T00:00:00Z" | |
}, | |
"Image": "sha256:fb584b63816351ca33fb5f5baca7c562e72706fedeffbb346a160763302c9da7", | |
"ResolvConfPath": "/var/lib/docker/containers/d659ccc00732e952fd441174172e9c1c0430269b59c62d573d4263258c43ce50/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/d659ccc00732e952fd441174172e9c1c0430269b59c62d573d4263258c43ce50/hostname", | |
"HostsPath": "/var/lib/docker/containers/d659ccc00732e952fd441174172e9c1c0430269b59c62d573d4263258c43ce50/hosts", | |
"LogPath": "/var/lib/docker/containers/d659ccc00732e952fd441174172e9c1c0430269b59c62d573d4263258c43ce50/d659ccc00732e952fd441174172e9c1c0430269b59c62d573d4263258c43ce50-json.log", | |
"Name": "/kubectl", | |
"RestartCount": 0, | |
"Driver": "aufs", | |
"MountLabel": "", | |
"ProcessLabel": "", | |
"AppArmorProfile": "", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": null, | |
"ContainerIDFile": "", | |
"LogConfig": { | |
"Type": "json-file", | |
"Config": {} | |
}, | |
"NetworkMode": "default", | |
"PortBindings": null, | |
"RestartPolicy": { | |
"Name": "", | |
"MaximumRetryCount": 0 | |
}, | |
"AutoRemove": false, | |
"VolumeDriver": "", | |
"VolumesFrom": null, | |
"CapAdd": null, | |
"CapDrop": null, | |
"Dns": null, | |
"DnsOptions": null, | |
"DnsSearch": null, | |
"ExtraHosts": null, | |
"GroupAdd": null, | |
"IpcMode": "", | |
"Cgroup": "", | |
"Links": null, | |
"OomScoreAdj": 0, | |
"PidMode": "", | |
"Privileged": false, | |
"PublishAllPorts": false, | |
"ReadonlyRootfs": false, | |
"SecurityOpt": null, | |
"UTSMode": "", | |
"UsernsMode": "", | |
"ShmSize": 67108864, | |
"Runtime": "runc", | |
"ConsoleSize": [ | |
0, | |
0 | |
], | |
"Isolation": "", | |
"CpuShares": 0, | |
"Memory": 0, | |
"CgroupParent": "", | |
"BlkioWeight": 0, | |
"BlkioWeightDevice": null, | |
"BlkioDeviceReadBps": null, | |
"BlkioDeviceWriteBps": null, | |
"BlkioDeviceReadIOps": null, | |
"BlkioDeviceWriteIOps": null, | |
"CpuPeriod": 0, | |
"CpuQuota": 0, | |
"CpusetCpus": "", | |
"CpusetMems": "", | |
"Devices": null, | |
"DiskQuota": 0, | |
"KernelMemory": 0, | |
"MemoryReservation": 0, | |
"MemorySwap": 0, | |
"MemorySwappiness": -1, | |
"OomKillDisable": false, | |
"PidsLimit": 0, | |
"Ulimits": null, | |
"CpuCount": 0, | |
"CpuPercent": 0, | |
"IOMaximumIOps": 0, | |
"IOMaximumBandwidth": 0 | |
}, | |
"GraphDriver": { | |
"Name": "aufs", | |
"Data": null | |
}, | |
"Mounts": [], | |
"Config": { | |
"Hostname": "d659ccc00732", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"=", | |
"RKE_CLUSTER_CIDR=10.233.64.0/18", | |
"RKE_DNS_SERVER=10.233.0.3", | |
"RKE_CLUSTER_DOMAIN=cluster.local", | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"Cmd": [ | |
"apply -f /network/.yaml" | |
], | |
"Image": "melsayed/kubectl:latest", | |
"Volumes": null, | |
"WorkingDir": "", | |
"Entrypoint": [ | |
"/tmp/entrypoint.sh" | |
], | |
"OnBuild": null, | |
"Labels": {} | |
}, | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "b78fede99ecc7656d317c15e95cdca1ce261b58707e460fe4b7dd015e7aa4a6c", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": null, | |
"SandboxKey": "/var/run/docker/netns/b78fede99ecc", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null, | |
"EndpointID": "", | |
"Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"MacAddress": "", | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "c388f5b4eec1237b46e9ab643810120c30f6c1f5b18e1fa26efe6f67e6c1c46a", | |
"EndpointID": "", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment