Skip to content

Instantly share code, notes, and snippets.

@reharik
Created May 25, 2016 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reharik/079cd7849bb0a8ca5ff01d29a4aea96f to your computer and use it in GitHub Desktop.
Save reharik/079cd7849bb0a8ca5ff01d29a4aea96f to your computer and use it in GitHub Desktop.
[
{
"Id": "f5b0c4a11f0eb23d02d2f7999ec88d0b209e7ee92cbe9929c2c723c0d7c54755",
"Created": "2016-05-25T14:48:53.141597145Z",
"Path": "npm",
"Args": [
"start"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 17730,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-05-25T14:48:53.344856307Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:c586aeda6efac21c836f7cfe475a928fbe09e95ccafb9caf3268c20e9bdb6829",
"ResolvConfPath": "/var/lib/docker/containers/f5b0c4a11f0eb23d02d2f7999ec88d0b209e7ee92cbe9929c2c723c0d7c54755/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/f5b0c4a11f0eb23d02d2f7999ec88d0b209e7ee92cbe9929c2c723c0d7c54755/hostname",
"HostsPath": "/var/lib/docker/containers/f5b0c4a11f0eb23d02d2f7999ec88d0b209e7ee92cbe9929c2c723c0d7c54755/hosts",
"LogPath": "/var/lib/docker/containers/f5b0c4a11f0eb23d02d2f7999ec88d0b209e7ee92cbe9929c2c723c0d7c54755/f5b0c4a11f0eb23d02d2f7999ec88d0b209e7ee92cbe9929c2c723c0d7c54755-json.log",
"Name": "/docker_frontend_run_1",
"RestartCount": 0,
"Driver": "aufs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/home/rharik/Development/eco/eco_frontend/app:/home/current/app:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"8080/tcp": [
{
"HostIp": "",
"HostPort": "8080"
}
]
},
"RestartPolicy": {
"Name": "",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": [],
"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,
"StorageOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"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,
"BlkioIOps": 0,
"BlkioBps": 0,
"SandboxSize": 0
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [
{
"Source": "/home/rharik/Development/eco/eco_frontend/app",
"Destination": "/home/current/app",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "f5b0c4a11f0e",
"Domainname": "",
"User": "",
"AttachStdin": true,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"8080/tcp": {}
},
"Tty": true,
"OpenStdin": true,
"StdinOnce": true,
"Env": [
"DEBUG=true",
"NODE_ENV=development",
"APPLICATION_NAME=eco_frontend",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NPM_CONFIG_LOGLEVEL=info",
"NODE_VERSION=4.4.4",
"HOME=/home/current"
],
"Cmd": [
"npm",
"start"
],
"Image": "eco_frontend",
"Volumes": {
"/home/current/app": {}
},
"WorkingDir": "/home/current",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"com.docker.compose.container-number": "1",
"com.docker.compose.oneoff": "True",
"com.docker.compose.project": "docker",
"com.docker.compose.service": "frontend",
"com.docker.compose.version": "1.7.1"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "3dc185cca5960dae9c94bd79d5ff0966b9a87038f93a4ab85f77f2349fe5ba5b",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"8080/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8080"
}
]
},
"SandboxKey": "/var/run/docker/netns/3dc185cca596",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "64df5046009a1d2a51cf3cc1ad0aecaae4c721324bce788402db7fc570103cdf",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "b644587194db38024f13d9958f151684a6c055ff6dbdee321f7f9f365be835ca",
"EndpointID": "64df5046009a1d2a51cf3cc1ad0aecaae4c721324bce788402db7fc570103cdf",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02"
}
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment