user2@system2 MINGW64 ~/firstdocker
$ docker ps -l
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1f57effa333d nitikishu/sampledocker “npm start” 13 minutes ago Up 13 minutes 4000/tcp friendly_lovelace
user2@system2 MINGW64 ~/firstdocker
$ docker inspect 1f57effa333d
[
{
“Id”: “1f57effa333d5364cd6d23ba46b7f82b3283f8c4f1d70b7b0d02266024dd5a23”,
“Created”: “2018-01-09T12:34:11.313641627Z”,
“Path”: “npm”,
“Args”: [
“start”
],
“State”: {
“Status”: “running”,
“Running”: true,
“Paused”: false,
“Restarting”: false,
“OOMKilled”: false,
“Dead”: false,
“Pid”: 14094,
“ExitCode”: 0,
“Error”: “”,
“StartedAt”: “2018-01-09T12:34:11.927832818Z”,
“FinishedAt”: “0001-01-01T00:00:00Z”
},
“Image”: “sha256:c136a2eddc792c066188ac066f7984f9a5df5a2409912c5f2770eabdca2d65d9”,
“ResolvConfPath”: “/mnt/sda1/var/lib/docker/containers/1f57effa333d5364cd6d23ba46b7f82b3283f8c4f1d70b7b0d02266024dd5a23/resolv.conf”,
“HostnamePath”: “/mnt/sda1/var/lib/docker/containers/1f57effa333d5364cd6d23ba46b7f82b3283f8c4f1d70b7b0d02266024dd5a23/hostname”,
“HostsPath”: “/mnt/sda1/var/lib/docker/containers/1f57effa333d5364cd6d23ba46b7f82b3283f8c4f1d70b7b0d02266024dd5a23/hosts”,
“LogPath”: “/mnt/sda1/var/lib/docker/containers/1f57effa333d5364cd6d23ba46b7f82b3283f8c4f1d70b7b0d02266024dd5a23/1f57effa333d5364cd6d23ba46b7f82b3283f8c4f1d70b7b0d
02266024dd5a23-json.log”,
“Name”: “/friendly_lovelace”,
“RestartCount”: 0,
“Driver”: “aufs”,
“MountLabel”: “”,
“ProcessLabel”: “”,
“AppArmorProfile”: “”,
“ExecIDs”: null,
“HostConfig”: {
“Binds”: null,
“ContainerIDFile”: “”,
“LogConfig”: {
“Type”: “json-file”,
“Config”: {}
},
“NetworkMode”: “default”,
“PortBindings”: {},
“RestartPolicy”: {
“Name”: “no”,
“MaximumRetryCount”: 0
},
“AutoRemove”: false,
“VolumeDriver”: “”,
“VolumesFrom”: null,
“CapAdd”: null,
“CapDrop”: null,
“Dns”: [],
“DnsOptions”: [],
“DnsSearch”: [],
“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”: [
69,
171
],
“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”: [],
“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”: [],
“Config”: {
“Hostname”: “1f57effa333d”,
“Domainname”: “”,
“User”: “”,
“AttachStdin”: false,
“AttachStdout”: true,
“AttachStderr”: true,
“ExposedPorts”: {
“4000/tcp”: {}
},
“Tty”: false,
“OpenStdin”: false,
“StdinOnce”: false,
“Env”: [
“PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin”,
“NODE_VERSION=8.9.4”,
“YARN_VERSION=1.3.2”
],
“Cmd”: [
“npm”,
“start”
],
“ArgsEscaped”: true,
“Image”: “nitikishu/sampledocker”,
“Volumes”: null,
“WorkingDir”: “/C:Usersuser2FirstDocker”,
“Entrypoint”: null,
“OnBuild”: null,
“Labels”: {}
},
“NetworkSettings”: {
“Bridge”: “”,
“SandboxID”: “8918f5493a6ea1c2fbbf04ceffb0b410b54ea41c5502a44d8634894fb107dca6”,
“HairpinMode”: false,
“LinkLocalIPv6Address”: “”,
“LinkLocalIPv6PrefixLen”: 0,
“Ports”: {
“4000/tcp”: null
},
“SandboxKey”: “/var/run/docker/netns/8918f5493a6e”,
“SecondaryIPAddresses”: null,
“SecondaryIPv6Addresses”: null,
“EndpointID”: “457d1f89d73738501cc60cdfae6ac4c25cd032def542c59f51111f45bb4ac68c”,
“Gateway”: “172.17.0.1”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“IPAddress”: “172.17.0.12”,
“IPPrefixLen”: 16,
“IPv6Gateway”: “”,
“MacAddress”: “02:42:ac:11:00:0c”,
“Networks”: {
“bridge”: {
“IPAMConfig”: null,
“Links”: null,
“Aliases”: null,
“NetworkID”: “8649f71393999be7058a5e0df86cddbe8651708eaca3e4564454ee7f952d2017”,
“EndpointID”: “457d1f89d73738501cc60cdfae6ac4c25cd032def542c59f51111f45bb4ac68c”,
“Gateway”: “172.17.0.1”,
“IPAddress”: “172.17.0.12”,
“IPPrefixLen”: 16,
“IPv6Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“MacAddress”: “02:42:ac:11:00:0c”,
“DriverOpts”: null
}
}
}
}
]