Docker
pi@gladys:~ $ docker inspect zigbee2mqtt
[
{
"Id": "4fbcdacaf09340f9db83412b29ce4a26c1cc20a30e5dc978a8a6797297e11c85",
"Created": "2021-01-15T13:29:57.209300743Z",
"Path": "docker-entrypoint.sh",
"Args": [
"npm",
"start"
],
"State": {
"Status": "created",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 128,
"Error": "error gathering device information while adding custom device \"/dev/ttyACM0\": no such file or directory",
"StartedAt": "0001-01-01T00:00:00Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:8a57907f6c4ecebea7358def33c3f54ac1d70c8fbbf6bc9e7bc8d1f940e9fbb4",
"ResolvConfPath": "/var/lib/docker/containers/4fbcdacaf09340f9db83412b29ce4a26c1cc20a30e5dc978a8a6797297e11c85/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/4fbcdacaf09340f9db83412b29ce4a26c1cc20a30e5dc978a8a6797297e11c85/hostname",
"HostsPath": "/var/lib/docker/containers/4fbcdacaf09340f9db83412b29ce4a26c1cc20a30e5dc978a8a6797297e11c85/hosts",
"LogPath": "/var/lib/docker/containers/4fbcdacaf09340f9db83412b29ce4a26c1cc20a30e5dc978a8a6797297e11c85/4fbcdacaf09340f9db83412b29ce4a26c1cc20a30e5dc978a8a6797297e11c85-json.log",
"Name": "/zigbee2mqtt",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/var/lib/gladysassistant/zigbee2mqtt/z2m:/app/data"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "host",
"PortBindings": {},
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"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": [
{
"PathOnHost": "/dev/ttyACM0",
"PathInContainer": "/dev/ttyACM0",
"CgroupPermissions": "rwm"
}
],
"DeviceCgroupRules": null,
"DeviceRequests": null,
"KernelMemory": 0,
"KernelMemoryTCP": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"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/d99dc73114e87665c992b2a548d43c1700aa7df2ca88643d06f9fb7f7c41a869-init/diff:/var/lib/docker/overlay2/80aa1b93c3f3ce9e58aff7a0e71b216ffa835a47b4b2c5097a625b8147d2b453/diff:/var/lib/docker/overlay2/838ab8fa2e9301bff69513f43fa4728623d955117284379be6dfacc6a5cff594/diff:/var/lib/docker/overlay2/54ca51484d1fa5efa7000e3f8e9ca86e7e0c8f58e507bf899de8d5a1a6890260/diff:/var/lib/docker/overlay2/337c5ff44785f260c0a7d62b79d8deab1f6b6236f47c197cdc6e629d48c02243/diff:/var/lib/docker/overlay2/2c5d4002df2d44ad8508f11431cef3ceb3704c30d22ea2439648cc4bb8f92e55/diff:/var/lib/docker/overlay2/8bbe4879392cd3ac7257f91e65399751571acf8f84230b637293bcd97ee763ac/diff:/var/lib/docker/overlay2/3557a8d8a1f38bc8dcaea362f62435c1dddf1e7f09ab1b681904bd664aebfc97/diff:/var/lib/docker/overlay2/047849d144fa5e49452ffe93f1e12d881524fdfca746b63e84eebc3d92ae9d93/diff:/var/lib/docker/overlay2/a4aae5f649b7020069af11ed9528930a917d13172ebb205a3257e56a664825a3/diff:/var/lib/docker/overlay2/0c5824017e1b39a0c82bdfacadc6c2670ca05f9ce7c372310adb4961bd9c4acb/diff:/var/lib/docker/overlay2/57ad8fb1dea139313619455a2bfdbab7875d480c4de01797326520df8bd6bdc4/diff:/var/lib/docker/overlay2/f4456017e082fa551e765733362324693d36b92cd0111619807c60b439a0fbd7/diff:/var/lib/docker/overlay2/876f3fe7a27660468d0d2a003f549c2f39ee660e138cdb91e1902f1cf5728309/diff:/var/lib/docker/overlay2/20c4c4b21539a77f1f066f4955a8b4f20bd687d4b80eb483672e68e4bab7e9e9/diff",
"MergedDir": "/var/lib/docker/overlay2/d99dc73114e87665c992b2a548d43c1700aa7df2ca88643d06f9fb7f7c41a869/merged",
"UpperDir": "/var/lib/docker/overlay2/d99dc73114e87665c992b2a548d43c1700aa7df2ca88643d06f9fb7f7c41a869/diff",
"WorkDir": "/var/lib/docker/overlay2/d99dc73114e87665c992b2a548d43c1700aa7df2ca88643d06f9fb7f7c41a869/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/var/lib/gladysassistant/zigbee2mqtt/z2m",
"Destination": "/app/data",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "gladys",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=12.20.0",
"YARN_VERSION=1.22.5"
],
"Cmd": [
"npm",
"start"
],
"Image": "koenkk/zigbee2mqtt:latest",
"Volumes": null,
"WorkingDir": "/app",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "f45106576f3b03452b3347db23ae157b91ea7d6a9e7dc335ffad1f5ac560df7d",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/default",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"host": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "52cf186cb21192c3c9aa88cb4c94bb770b3deff48b02aa4392285f1cf4504c39",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
]