Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker inspect gocd-server
- [
- {
- "Id": "960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d",
- "Created": "2016-03-02T19:01:29.127854029Z",
- "Path": "/bin/sh",
- "Args": [
- "-c",
- "/etc/init.d/go-server start \u0026\u0026 tail -f /var/log/go-server/go-server.log"
- ],
- "State": {
- "Status": "running",
- "Running": true,
- "Paused": false,
- "Restarting": false,
- "OOMKilled": false,
- "Dead": false,
- "Pid": 6791,
- "ExitCode": 0,
- "Error": "",
- "StartedAt": "2016-03-02T19:08:22.280371034Z",
- "FinishedAt": "2016-03-02T19:08:12.718979427Z"
- },
- "Image": "sha256:6a1cc35e82da7c64c67c0754b750adee14f364936832f5a8d44106e4559a85d5",
- "ResolvConfPath": "/var/lib/docker/containers/960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d/resolv.conf",
- "HostnamePath": "/var/lib/docker/containers/960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d/hostname",
- "HostsPath": "/var/lib/docker/containers/960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d/hosts",
- "LogPath": "/var/lib/docker/containers/960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d/960806d297bbed0d4362fc1918056c32f9cf60235b6a833339c7d6acdb39bb2d-json.log",
- "Name": "/gocd-server",
- "RestartCount": 0,
- "Driver": "devicemapper",
- "MountLabel": "",
- "ProcessLabel": "",
- "AppArmorProfile": "",
- "ExecIDs": null,
- "HostConfig": {
- "Binds": [
- "/mnt/data/docker/gocd/flyweight:/var/lib/go-server/pipelines/flyweight:rw",
- "/mnt/data/docker/gocd/config:/etc/go:rw",
- "/mnt/data/docker/gocd/plugins:/var/lib/go-server/plugins/external:rw",
- "/mnt/data/docker/gocd/ssh:/var/go/.ssh:rw",
- "/mnt/data/docker/gocd/artifacts:/var/lib/go-server/artifacts:rw",
- "/mnt/data/docker/gocd/db:/var/lib/go-server/db/h2db:rw"
- ],
- "ContainerIDFile": "",
- "LogConfig": {
- "Type": "json-file",
- "Config": {}
- },
- "NetworkMode": "default",
- "PortBindings": {
- "8153/tcp": [
- {
- "HostIp": "",
- "HostPort": "18153"
- }
- ],
- "8154/tcp": [
- {
- "HostIp": "",
- "HostPort": "18154"
- }
- ]
- },
- "RestartPolicy": {
- "Name": "",
- "MaximumRetryCount": 0
- },
- "VolumeDriver": "",
- "VolumesFrom": [],
- "CapAdd": null,
- "CapDrop": null,
- "Dns": null,
- "DnsOptions": null,
- "DnsSearch": null,
- "ExtraHosts": null,
- "GroupAdd": null,
- "IpcMode": "",
- "Links": null,
- "OomScoreAdj": 0,
- "PidMode": "",
- "Privileged": false,
- "PublishAllPorts": false,
- "ReadonlyRootfs": false,
- "SecurityOpt": null,
- "UTSMode": "",
- "ShmSize": 67108864,
- "ConsoleSize": [
- 0,
- 0
- ],
- "Isolation": "",
- "CpuShares": 0,
- "CgroupParent": "",
- "BlkioWeight": 0,
- "BlkioWeightDevice": null,
- "BlkioDeviceReadBps": null,
- "BlkioDeviceWriteBps": null,
- "BlkioDeviceReadIOps": null,
- "BlkioDeviceWriteIOps": null,
- "CpuPeriod": 0,
- "CpuQuota": 0,
- "CpusetCpus": "",
- "CpusetMems": "",
- "Devices": null,
- "KernelMemory": 0,
- "Memory": 0,
- "MemoryReservation": 0,
- "MemorySwap": 0,
- "MemorySwappiness": -1,
- "OomKillDisable": false,
- "PidsLimit": 0,
- "Ulimits": null
- },
- "GraphDriver": {
- "Name": "devicemapper",
- "Data": {
- "DeviceId": "625",
- "DeviceName": "docker-8:3-6684765-67af0a88d65e5433b6f5a09ea3d1575f214c6bc80fdae3e523b748537d6e237b",
- "DeviceSize": "10737418240"
- }
- },
- "Mounts": [
- {
- "Source": "/mnt/data/docker/gocd/plugins",
- "Destination": "/var/lib/go-server/plugins/external",
- "Mode": "rw",
- "RW": true,
- "Propagation": "rprivate"
- },
- {
- "Source": "/mnt/data/docker/gocd/ssh",
- "Destination": "/var/go/.ssh",
- "Mode": "rw",
- "RW": true,
- "Propagation": "rprivate"
- },
- {
- "Source": "/mnt/data/docker/gocd/artifacts",
- "Destination": "/var/lib/go-server/artifacts",
- "Mode": "rw",
- "RW": true,
- "Propagation": "rprivate"
- },
- {
- "Source": "/mnt/data/docker/gocd/db",
- "Destination": "/var/lib/go-server/db/h2db",
- "Mode": "rw",
- "RW": true,
- "Propagation": "rprivate"
- },
- {
- "Source": "/mnt/data/docker/gocd/flyweight",
- "Destination": "/var/lib/go-server/pipelines/flyweight",
- "Mode": "rw",
- "RW": true,
- "Propagation": "rprivate"
- },
- {
- "Source": "/mnt/data/docker/gocd/config",
- "Destination": "/etc/go",
- "Mode": "rw",
- "RW": true,
- "Propagation": "rprivate"
- }
- ],
- "Config": {
- "Hostname": "960806d297bb",
- "Domainname": "",
- "User": "",
- "AttachStdin": false,
- "AttachStdout": false,
- "AttachStderr": false,
- "ExposedPorts": {
- "8153/tcp": {},
- "8154/tcp": {}
- },
- "Tty": false,
- "OpenStdin": false,
- "StdinOnce": false,
- "Env": [
- "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
- "LANG=C.UTF-8",
- "JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64",
- "JAVA_VERSION=8u72",
- "JAVA_DEBIAN_VERSION=8u72-b15-1~bpo8+1",
- "CA_CERTIFICATES_JAVA_VERSION=20140324",
- "GO_VERSION=16.2.1-3027",
- "TERM=xterm",
- "USER_NAME=go",
- "USER_ID=15000",
- "GROUP_NAME=go",
- "GROUP_ID=15000"
- ],
- "Cmd": [
- "/bin/sh",
- "-c",
- "/etc/init.d/go-server start \u0026\u0026 tail -f /var/log/go-server/go-server.log"
- ],
- "Image": "gocd-server-test",
- "Volumes": {
- "/etc/go": {},
- "/var/go/.ssh": {},
- "/var/lib/go-server/artifacts": {},
- "/var/lib/go-server/db/h2db": {},
- "/var/lib/go-server/pipelines/flyweight": {},
- "/var/lib/go-server/plugins/external": {}
- },
- "WorkingDir": "",
- "Entrypoint": null,
- "OnBuild": null,
- "Labels": {
- "com.docker.compose.config-hash": "c9322c4c3f82048848c64041da35790a78c697a80bb5d0a4a14a22210f0e2ac1",
- "com.docker.compose.container-number": "1",
- "com.docker.compose.oneoff": "False",
- "com.docker.compose.project": "docker",
- "com.docker.compose.service": "gocd-server",
- "com.docker.compose.version": "1.6.2"
- }
- },
- "NetworkSettings": {
- "Bridge": "",
- "SandboxID": "a849714e2066f30f9faea6ad30c988cd44f44441a9f324168dcd750cc9877f57",
- "HairpinMode": false,
- "LinkLocalIPv6Address": "",
- "LinkLocalIPv6PrefixLen": 0,
- "Ports": {
- "8153/tcp": [
- {
- "HostIp": "0.0.0.0",
- "HostPort": "18153"
- }
- ],
- "8154/tcp": [
- {
- "HostIp": "0.0.0.0",
- "HostPort": "18154"
- }
- ]
- },
- "SandboxKey": "/var/run/docker/netns/a849714e2066",
- "SecondaryIPAddresses": null,
- "SecondaryIPv6Addresses": null,
- "EndpointID": "0a7f927dd63a1560d78b93acd1e8b4257d844d718b9b7648b970f95240fde957",
- "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": "68d24a1cda7364afd2261dd579f0ec4c7bc47d08e131746b1aa898481d7c43ea",
- "EndpointID": "0a7f927dd63a1560d78b93acd1e8b4257d844d718b9b7648b970f95240fde957",
- "Gateway": "172.17.0.1",
- "IPAddress": "172.17.0.2",
- "IPPrefixLen": 16,
- "IPv6Gateway": "",
- "GlobalIPv6Address": "",
- "GlobalIPv6PrefixLen": 0,
- "MacAddress": "02:42:ac:11:00:02"
- }
- }
- }
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement