Skip to content

Instantly share code, notes, and snippets.

@MathewBurnett
Created January 30, 2020 19:25
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 MathewBurnett/996ab30e862b0a9dbfea4279603b9b40 to your computer and use it in GitHub Desktop.
Save MathewBurnett/996ab30e862b0a9dbfea4279603b9b40 to your computer and use it in GitHub Desktop.
[
{
"Id": "39be5f2b37c1619fe182a7413df3c6a683e1cabc65de253e50caf7b6809d3142",
"Created": "2020-01-29T16:17:05.152840996Z",
"Path": "/bin/bash",
"Args": [
"-e",
"/init/entrypoint",
"/init/supervisord"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 30186,
"ExitCode": 0,
"Error": "",
"StartedAt": "2020-01-29T16:17:06.371242996Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:e6afcb0263b49fc7f9e3bbd151bfe99a9796e5c976c344cd0da31a0ab0e062e9",
"ResolvConfPath": "/var/lib/docker/containers/39be5f2b37c1619fe182a7413df3c6a683e1cabc65de253e50caf7b6809d3142/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/39be5f2b37c1619fe182a7413df3c6a683e1cabc65de253e50caf7b6809d3142/hostname",
"HostsPath": "/var/lib/docker/containers/39be5f2b37c1619fe182a7413df3c6a683e1cabc65de253e50caf7b6809d3142/hosts",
"LogPath": "/var/lib/docker/containers/39be5f2b37c1619fe182a7413df3c6a683e1cabc65de253e50caf7b6809d3142/39be5f2b37c1619fe182a7413df3c6a683e1cabc65de253e50caf7b6809d3142-json.log",
"Name": "/lancache",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "docker-default",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/cache/data:/data/cache",
"/cache/logs:/data/logs"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"80/tcp": [
{
"HostIp": "",
"HostPort": "80"
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "shareable",
"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,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/96c9541c3217ed5ad2fb9df9ef7be8d9330315fd3ba18da5b65661ae0d5656c5-init/diff:/var/lib/docker/overlay2/7031de36e052b4d806d0944fde0f0102f796e3959d81451aa8b76fd1656eaaf1/diff:/var/lib/docker/overlay2/14573d6c02300ffc5d93a712d810f39e6d074078c5504d5841be055f8568c84c/diff:/var/lib/docker/overlay2/12397403630d5a6557342bb5188c5387e6ebfbd33b7e69d624385d32514fcb93/diff:/var/lib/docker/overlay2/74ac45fd968f4b11077532f289c8860c3902f14fbccfb0933c8647e1ad473341/diff:/var/lib/docker/overlay2/9c0dec442ab90408a0e94595a47aa4440b4104cef1ba1c5026829f507f122b5d/diff:/var/lib/docker/overlay2/fca48b519ed4e3d0a13d9455fd784424d134295e434b453caceaf3a3cd35823d/diff:/var/lib/docker/overlay2/e166424f41156c6d86e264739bf580560bdec16f9f082d4f50d106b165fd9ebf/diff:/var/lib/docker/overlay2/b82f9e48a4b651c41a17a4fa3504ae1414c69e33f8030c2b739205997164afc9/diff:/var/lib/docker/overlay2/b9598eeebfec3e1f4d12783e17d63dd607decf3df2b6fc68d6c98542532d267e/diff:/var/lib/docker/overlay2/b616cee88dc3339a05ea4ec69b797deb3863dd08c603d5baa69739c7b1cd506f/diff:/var/lib/docker/overlay2/2d9b686b124a0718bc881968ee3b78af51696843c18ac627c84062476f9668d4/diff:/var/lib/docker/overlay2/c6a06dd6d95de43fb12def491ece324276a7f15bb72a7fb257a901f2e662728e/diff:/var/lib/docker/overlay2/8129b717140a74082a3d408286d2616bec48b73e1b8fdf2dfb5a56b985e8c5ff/diff:/var/lib/docker/overlay2/73468a6352471e0529fbf64e688a3de4f97080d58bc91c06305195f28f2fa72d/diff",
"MergedDir": "/var/lib/docker/overlay2/96c9541c3217ed5ad2fb9df9ef7be8d9330315fd3ba18da5b65661ae0d5656c5/merged",
"UpperDir": "/var/lib/docker/overlay2/96c9541c3217ed5ad2fb9df9ef7be8d9330315fd3ba18da5b65661ae0d5656c5/diff",
"WorkDir": "/var/lib/docker/overlay2/96c9541c3217ed5ad2fb9df9ef7be8d9330315fd3ba18da5b65661ae0d5656c5/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/cache/data",
"Destination": "/data/cache",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/cache/logs",
"Destination": "/data/logs",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "volume",
"Name": "868e96d6a35ad3c97039c686e3b9ff19d13bab41b038f609c9d96d26b1824c14",
"Source": "/var/lib/docker/volumes/868e96d6a35ad3c97039c686e3b9ff19d13bab41b038f609c9d96d26b1824c14/_data",
"Destination": "/data/cachedomains",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
},
{
"Type": "volume",
"Name": "69a8b7784fcf8effb6e36a037e1d173ef9364ddb3c7fc430e464af2abd8e099a",
"Source": "/var/lib/docker/volumes/69a8b7784fcf8effb6e36a037e1d173ef9364ddb3c7fc430e464af2abd8e099a/_data",
"Destination": "/var/www",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "39be5f2b37c1",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"443/tcp": {},
"80/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"CACHE_DOMAINS_REPO=https://github.com/vibroaxe/cache-domains.git",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"SUPERVISORD_EXIT_ON_FATAL=1",
"LC_ALL=en_GB.UTF-8",
"LANG=en_GB.UTF-8",
"LANGUAGE=en_GB.UTF-8",
"TZ=Europe/London",
"SSL_KEY=/ssl/ssl.key",
"SSL_CERT=/ssl/ssl.crt",
"DOCUMENT_ROOT=html",
"GENERICCACHE_VERSION=2",
"WEBUSER=www-data",
"CACHE_MEM_SIZE=500m",
"CACHE_DISK_SIZE=1000000m",
"CACHE_MAX_AGE=3560d",
"UPSTREAM_DNS=8.8.8.8 8.8.4.4",
"BEAT_TIME=1h",
"LOGFILE_RETENTION=3560",
"NGINX_WORKER_PROCESSES=auto",
"CACHE_DOMAINS_BRANCH=master"
],
"Cmd": [
"/init/supervisord"
],
"ArgsEscaped": true,
"Image": "lancachenet/monolithic:goss-test",
"Volumes": {
"/data/cache": {},
"/data/cachedomains": {},
"/data/logs": {},
"/var/www": {}
},
"WorkingDir": "/scripts",
"Entrypoint": [
"/bin/bash",
"-e",
"/init/entrypoint"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "79921bdd19fdb58d38e94b605a0ea6a8633031e89b7f64cdf4cfd080301af711",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"443/tcp": null,
"80/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "80"
}
]
},
"SandboxKey": "/var/run/docker/netns/79921bdd19fd",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "ae31ce31af38b255a9fe0fa7bf794126eb4cdd5264da217805f64d67a503132f",
"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": "f02309425292a588025a3c9bf443df114638c1fd63f9a6676ae9b4635b75eea7",
"EndpointID": "ae31ce31af38b255a9fe0fa7bf794126eb4cdd5264da217805f64d67a503132f",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02",
"DriverOpts": null
}
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment