Skip to content

Instantly share code, notes, and snippets.

@fuss86
Created March 17, 2019 20:13
Show Gist options
  • Save fuss86/b1b718d6e1f701467c7a4d64d4928979 to your computer and use it in GitHub Desktop.
Save fuss86/b1b718d6e1f701467c7a4d64d4928979 to your computer and use it in GitHub Desktop.
fuss@FUSIK-LAPTOP MINGW64 /c/Program Files/Docker Toolbox
$ docker inspect strongbox_strongbox-from-web-core_1
[
{
"Id": "634b5eacd3d28e369f74c0beebf1c32e293b6b4ee32b82c6a4ea9174331cb000",
"Created": "2019-03-17T11:48:16.402416007Z",
"Path": "/bin/bash",
"Args": [
"-c",
"echo \"\"\necho \"[NOTICE] This will take at least 2 to 5 minutes to start depending on your machine and connection!\"\necho \"\"\necho \" Open http://localhost:48080/storages to browse the repository contents.\"\necho \"\"\nsleep 5\nmkdir -p /workspace/.m2/repositories\nexport MAVEN_OPTS=\"-Xms2g -Xmx2g\"\nmvn clean install -DskipTests -Dmaven.repo.local=/workspace/.m2/repositories\ncd strongbox-web-core\nmvn spring-boot:run -Dmaven.repo.local=/workspace/.m2/repositories\n"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 7179,
"ExitCode": 0,
"Error": "",
"StartedAt": "2019-03-17T11:48:16.814173336Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:baad96ca217d6f387e440bd6ba3160d27624d8ff6481604b97fba6ac5d4f1cf8",
"ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/634b5eacd3d28e369f74c0beebf1c32e293b6b4ee32b82c6a4ea9174331cb000/resolv.conf",
"HostnamePath": "/mnt/sda1/var/lib/docker/containers/634b5eacd3d28e369f74c0beebf1c32e293b6b4ee32b82c6a4ea9174331cb000/hostname",
"HostsPath": "/mnt/sda1/var/lib/docker/containers/634b5eacd3d28e369f74c0beebf1c32e293b6b4ee32b82c6a4ea9174331cb000/hosts",
"LogPath": "/mnt/sda1/var/lib/docker/containers/634b5eacd3d28e369f74c0beebf1c32e293b6b4ee32b82c6a4ea9174331cb000/634b5eacd3d28e369f74c0beebf1c32e293b6b4ee32b82c6a4ea9174331cb000-json.log",
"Name": "/strongbox_strongbox-from-web-core_1",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/c/Users/fuss/IdeaProjects/strongbox:/workspace:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "strongbox_default",
"PortBindings": {
"48080/tcp": [
{
"HostIp": "",
"HostPort": "48080"
}
]
},
"RestartPolicy": {
"Name": "",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": [],
"CapAdd": null,
"CapDrop": null,
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"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": 2147483648,
"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": 2147483648,
"MemorySwap": 4294967296,
"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": "/mnt/sda1/var/lib/docker/overlay2/6a1b5aac13783fd2097200d934a14b936d041f2bc15460436dff5851a6a32c7d-init/diff:/mnt/sda1/var/lib/docker/overlay2/97b178ea03f241d889a86d3f29745b2fb4800084fbbc0aefb5ce9982df146ca2/diff:/mnt/sda1/var/lib/docker/overlay2/c15efc3a56fbd8ddf3b71eea210770df4f0d2b6e1559fd06a22c55e8c10557f8/diff:/mnt/sda1/var/lib/docker/overlay2/bd3ff48aedf3a51542f9ae62aee46e557d60b42e4597c718cbfabf3e1aa91725/diff:/mnt/sda1/var/lib/docker/overlay2/3f989f668238229808bdaf8c0114b8cf9c8d892e32f23642ff3eef1009ddc280/diff",
"MergedDir": "/mnt/sda1/var/lib/docker/overlay2/6a1b5aac13783fd2097200d934a14b936d041f2bc15460436dff5851a6a32c7d/merged",
"UpperDir": "/mnt/sda1/var/lib/docker/overlay2/6a1b5aac13783fd2097200d934a14b936d041f2bc15460436dff5851a6a32c7d/diff",
"WorkDir": "/mnt/sda1/var/lib/docker/overlay2/6a1b5aac13783fd2097200d934a14b936d041f2bc15460436dff5851a6a32c7d/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/c/Users/fuss/IdeaProjects/strongbox",
"Destination": "/workspace",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "634b5eacd3d2",
"Domainname": "",
"User": "jenkins",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"48080/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/java/jdk8u202-b08/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"USER_ID=1000",
"GROUP_ID=1000",
"HOME=/home/jenkins",
"BASE_TOOLS=bash bc curl coreutils file grep gnupg mc openssh-client openssh-keygen procps p7zip sed tar unzip wget xz jq",
"VCS_TOOLS=git mercurial",
"BUILD_DEPS=dpkg dpkg-dev rpm rpm-dev",
"OTHER_DEPS=libstdc++",
"JAVA_VERSION=8",
"JAVA_UPDATE=202",
"JAVA_BUILD=08",
"JAVA_NAME=jdk8u202-b08",
"JAVA_HOME=/java/jdk8u202-b08",
"MVN_VERSION=3.5.4",
"M2_HOME=/java/mvn-3.5.4"
],
"Cmd": [
"/bin/bash",
"-c",
"echo \"\"\necho \"[NOTICE] This will take at least 2 to 5 minutes to start depending on your machine and connection!\"\necho \"\"\necho \" Open http://localhost:48080/storages to browse the repository contents.\"\necho \"\"\nsleep 5\nmkdir -p /workspace/.m2/repositories\nexport MAVEN_OPTS=\"-Xms2g -Xmx2g\"\nmvn clean install -DskipTests -Dmaven.repo.local=/workspace/.m2/repositories\ncd strongbox-web-core\nmvn spring-boot:run -Dmaven.repo.local=/workspace/.m2/repositories\n"
],
"Image": "strongboxci/alpine:jdk8-mvn-3.5",
"Volumes": {
"/workspace": {}
},
"WorkingDir": "/workspace",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "356d1cf2c893509f8e39e371a6a1a92b9935a63afbdc357196f7f3c7fe11cccd",
"com.docker.compose.container-number": "1",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "strongbox",
"com.docker.compose.service": "strongbox-from-web-core",
"com.docker.compose.version": "1.20.1"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "e977552b5263df04eae1a5d6a4dc8c3d86d41398a6a541984b33a2f12cfacb07",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"48080/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "48080"
}
]
},
"SandboxKey": "/var/run/docker/netns/e977552b5263",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"strongbox_default": {
"IPAMConfig": null,
"Links": null,
"Aliases": [
"strongbox-from-web-core",
"634b5eacd3d2"
],
"NetworkID": "8b8c8ef8ae2cfcd8d39976014dda029f6d5395c35bf40d78098b8b00b3bd2038",
"EndpointID": "6a0632518899ea8793c0343cae592a41ca6aa821fb8a9f1f93f464775ae2f0e9",
"Gateway": "172.18.0.1",
"IPAddress": "172.18.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:12:00:02",
"DriverOpts": null
}
}
}
}
]
fuss@FUSIK-LAPTOP MINGW64 /c/Program Files/Docker Toolbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment