Skip to content

Instantly share code, notes, and snippets.

@leorush
Created October 12, 2017 17:44
Show Gist options
  • Save leorush/6e4d9395057c776769a4e5943a001bfc to your computer and use it in GitHub Desktop.
Save leorush/6e4d9395057c776769a4e5943a001bfc to your computer and use it in GitHub Desktop.
docker inspect selenoid
$ docker inspect selenoid
[
{
"Id": "99ed24c1b983c70b484a99ad0404c92cd0c1c3be74f15a5a15abb2d19b519541",
"Created": "2017-10-12T17:43:25.140572028Z",
"Path": "/usr/bin/selenoid",
"Args": [
"-listen",
":4444",
"-conf",
"/etc/selenoid/browsers.json"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 1971,
"ExitCode": 0,
"Error": "",
"StartedAt": "2017-10-12T17:43:25.768975248Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:9bc0f7d5146a617e1f1a299af724070ca85889f12a802ae3903b36109e9be091",
"ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/99ed24c1b983c70b484a99ad0404c92cd0c1c3be74f15a5a15abb2d19b519541/resolv.conf",
"HostnamePath": "/mnt/sda1/var/lib/docker/containers/99ed24c1b983c70b484a99ad0404c92cd0c1c3be74f15a5a15abb2d19b519541/hostname",
"HostsPath": "/mnt/sda1/var/lib/docker/containers/99ed24c1b983c70b484a99ad0404c92cd0c1c3be74f15a5a15abb2d19b519541/hosts",
"LogPath": "/mnt/sda1/var/lib/docker/containers/99ed24c1b983c70b484a99ad0404c92cd0c1c3be74f15a5a15abb2d19b519541/99ed24c1b983c70b484a99ad0404c92cd0c1c3be74f15a5a15abb2d19b519541-json.log",
"Name": "/selenoid",
"RestartCount": 0,
"Driver": "aufs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/c/Users/Leo/.aerokube/selenoid:/etc/selenoid:ro",
"/var/run/docker.sock:/var/run/docker.sock"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"4444/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "4444"
}
]
},
"RestartPolicy": {
"Name": "always",
"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,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DeviceCgroupRules": 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": {
"Data": null,
"Name": "aufs"
},
"Mounts": [
{
"Type": "bind",
"Source": "/var/run/docker.sock",
"Destination": "/var/run/docker.sock",
"Mode": "",
"RW": true,
"Propagation": ""
},
{
"Type": "bind",
"Source": "/c/Users/Leo/.aerokube/selenoid",
"Destination": "/etc/selenoid",
"Mode": "ro",
"RW": false,
"Propagation": ""
}
],
"Config": {
"Hostname": "localhost",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"4444/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"HOSTNAME=a48484da3952",
"OVERRIDE_HOME=/c/Users/Leo",
"HOME=/root",
"TZ=Local"
],
"Cmd": null,
"ArgsEscaped": true,
"Image": "aerokube/selenoid:1.1.1",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/usr/bin/selenoid",
"-listen",
":4444",
"-conf",
"/etc/selenoid/browsers.json"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "81880dfb0760257b0c04648dd7bde463ff0f1f493f968041ed54b0f79bc4b3e1",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"4444/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "4444"
}
]
},
"SandboxKey": "/var/run/docker/netns/81880dfb0760",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "5ce0d3d1e1ba392ef7b17087fb5d8ba87baaf7d5f61f29b770cfd203f8ca1920",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.3",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:03",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "dd07b82cdecbed949b9bf7377b0aca1d070994ccf5db6536b7c734d5fdae850a",
"EndpointID": "5ce0d3d1e1ba392ef7b17087fb5d8ba87baaf7d5f61f29b770cfd203f8ca1920",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.3",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:03"
}
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment