Skip to content

Instantly share code, notes, and snippets.

@aweiteka
Last active August 29, 2015 14:09
Show Gist options
  • Save aweiteka/208b6d3c5cfad0939c05 to your computer and use it in GitHub Desktop.
Save aweiteka/208b6d3c5cfad0939c05 to your computer and use it in GitHub Desktop.
running cockpit
[{
"Args": [],
"Config": {
"AttachStderr": true,
"AttachStdin": false,
"AttachStdout": true,
"Cmd": [
"/container/cockpit-run"
],
"CpuShares": 0,
"Cpuset": "",
"Domainname": "",
"Entrypoint": null,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"ExposedPorts": null,
"Hostname": "ab22ec604e8c",
"Image": "stefwalter/cockpit-atomic:wip",
"Memory": 0,
"MemorySwap": 0,
"NetworkDisabled": false,
"OnBuild": null,
"OpenStdin": false,
"PortSpecs": null,
"SecurityOpt": null,
"StdinOnce": false,
"Tty": false,
"User": "",
"Volumes": {
"/:/host": {}
},
"WorkingDir": ""
},
"Created": "2014-11-11T22:30:05.807492351Z",
"Driver": "devicemapper",
"ExecDriver": "native-0.2",
"HostConfig": {
"Binds": null,
"CapAdd": null,
"CapDrop": null,
"ContainerIDFile": "",
"Devices": null,
"Dns": null,
"DnsSearch": null,
"ExtraHosts": null,
"Links": null,
"LxcConf": [],
"NetworkMode": "bridge",
"PortBindings": null,
"Privileged": true,
"PublishAllPorts": false,
"RestartPolicy": {
"MaximumRetryCount": 0,
"Name": ""
},
"VolumesFrom": null
},
"HostnamePath": "/var/lib/docker/containers/ab22ec604e8ca2a1e9f76617f963fbc292e94d6f9ffaab6c19ed9fe85911e215/hostname",
"HostsPath": "/var/lib/docker/containers/ab22ec604e8ca2a1e9f76617f963fbc292e94d6f9ffaab6c19ed9fe85911e215/hosts",
"Id": "ab22ec604e8ca2a1e9f76617f963fbc292e94d6f9ffaab6c19ed9fe85911e215",
"Image": "17a3ff34f4da24b67ae7a697d23364c50ab3c8a164e3d79f5e2229e41d61f836",
"MountLabel": "system_u:object_r:svirt_sandbox_file_t:s0:c236,c684",
"Name": "/cockpit",
"NetworkSettings": {
"Bridge": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"MacAddress": "",
"PortMapping": null,
"Ports": null
},
"Path": "/container/cockpit-run",
"ProcessLabel": "system_u:system_r:svirt_lxc_net_t:s0:c236,c684",
"ResolvConfPath": "/var/lib/docker/containers/ab22ec604e8ca2a1e9f76617f963fbc292e94d6f9ffaab6c19ed9fe85911e215/resolv.conf",
"State": {
"ExitCode": 1,
"FinishedAt": "2014-11-11T22:30:06.30993446Z",
"Paused": false,
"Pid": 0,
"Restarting": false,
"Running": false,
"StartedAt": "2014-11-11T22:30:06.191084972Z"
},
"Volumes": {
"/:/host": "/var/lib/docker/vfs/dir/e0ccaac8cbd5579e4cb6ee59611710e2fc7e83c903c0afb635fe73b848a95297"
},
"VolumesRW": {
"/:/host": true
}
}
]
[{
"Args": [],
"Config": {
"AttachStderr": false,
"AttachStdin": false,
"AttachStdout": false,
"Cmd": [
"/container/cockpit-run"
],
"CpuShares": 0,
"Cpuset": "",
"Domainname": "",
"Entrypoint": null,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"ExposedPorts": null,
"Hostname": "763227f8ddb9",
"Image": "stefwalter/cockpit-atomic:wip",
"Memory": 0,
"MemorySwap": 0,
"NetworkDisabled": false,
"OnBuild": null,
"OpenStdin": false,
"PortSpecs": null,
"SecurityOpt": null,
"StdinOnce": false,
"Tty": false,
"User": "",
"Volumes": null,
"WorkingDir": ""
},
"Created": "2014-11-11T22:10:09.03795886Z",
"Driver": "devicemapper",
"ExecDriver": "native-0.2",
"HostConfig": {
"Binds": [
"/:/host"
],
"CapAdd": null,
"CapDrop": null,
"ContainerIDFile": "",
"Devices": [],
"Dns": null,
"DnsSearch": null,
"ExtraHosts": null,
"Links": null,
"LxcConf": [],
"NetworkMode": "bridge",
"PortBindings": {},
"Privileged": true,
"PublishAllPorts": false,
"RestartPolicy": {
"MaximumRetryCount": 0,
"Name": ""
},
"VolumesFrom": null
},
"HostnamePath": "/var/lib/docker/containers/763227f8ddb902a0eefe6fc9475ff6383b7c581056ed0bde3cb8c8a359feb36b/hostname",
"HostsPath": "/var/lib/docker/containers/763227f8ddb902a0eefe6fc9475ff6383b7c581056ed0bde3cb8c8a359feb36b/hosts",
"Id": "763227f8ddb902a0eefe6fc9475ff6383b7c581056ed0bde3cb8c8a359feb36b",
"Image": "17a3ff34f4da24b67ae7a697d23364c50ab3c8a164e3d79f5e2229e41d61f836",
"MountLabel": "system_u:object_r:svirt_sandbox_file_t:s0:c281,c629",
"Name": "/cockpit",
"NetworkSettings": {
"Bridge": "docker0",
"Gateway": "172.17.42.1",
"IPAddress": "172.17.0.27",
"IPPrefixLen": 16,
"MacAddress": "02:42:ac:11:00:1b",
"PortMapping": null,
"Ports": {}
},
"Path": "/container/cockpit-run",
"ProcessLabel": "system_u:system_r:svirt_lxc_net_t:s0:c281,c629",
"ResolvConfPath": "/var/lib/docker/containers/763227f8ddb902a0eefe6fc9475ff6383b7c581056ed0bde3cb8c8a359feb36b/resolv.conf",
"State": {
"ExitCode": 0,
"FinishedAt": "0001-01-01T00:00:00Z",
"Paused": false,
"Pid": 9156,
"Restarting": false,
"Running": true,
"StartedAt": "2014-11-11T22:10:09.464594964Z"
},
"Volumes": {
"/host": "/"
},
"VolumesRW": {
"/host": true
}
}
]
docker run --privileged -d --name cockpit -v /:/host stefwalter/cockpit-atomic:wip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment