hannes@heckner_storage:~$ docker inspect openhab [] Got permission denied while trying to connect to the Docker daemon socket at uni x:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/container s/openhab/json": dial unix /var/run/docker.sock: connect: permission denied hannes@heckner_storage:~$ sudo docker inspect openhab Password: [ { "Id": "69ae45a41dd70ce3c7a9e38532dc3a8c4bdcc30372d426c5513f6e82258abdb3" , "Created": "2023-12-27T10:40:48.135889903Z", "Path": "/entrypoint", "Args": [ "gosu", "openhab", "tini", "-s", "./start.sh" ], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 3656, "ExitCode": 0, "Error": "", "StartedAt": "2023-12-27T10:59:24.163577361Z", "FinishedAt": "2023-12-27T10:56:47.980327365Z", "Health": { "Status": "starting", "FailingStreak": 1, "Log": [ { "Start": "2023-12-27T11:46:37.235663759+01:00", "End": "2023-12-27T11:46:37.606977108+01:00", "ExitCode": 1, "Output": " % Total % Received % Xferd Average Spee d Time Time Time Current\n Dload Uplo ad Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\ncurl: (7) Failed to connect to localhost po rt 8080: Connection refused\n" }, { "Start": "2023-12-27T11:51:37.984955131+01:00", "End": "2023-12-27T11:51:38.053613356+01:00", "ExitCode": 1, "Output": " % Total % Received % Xferd Average Spee d Time Time Time Current\n Dload Uplo ad Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\ncurl: (7) Failed to connect to localhost po rt 8080: Connection refused\n" }, { "Start": "2023-12-27T11:56:38.323590168+01:00", "End": "2023-12-27T11:56:38.387393327+01:00", "ExitCode": 1, "Output": " % Total % Received % Xferd Average Spee d Time Time Time Current\n Dload Uplo ad Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\ncurl: (7) Failed to connect to localhost po rt 8080: Connection refused\n" }, { "Start": "2023-12-27T12:04:24.163674531+01:00", "End": "2023-12-27T12:04:24.224308941+01:00", "ExitCode": 1, "Output": " % Total % Received % Xferd Average Spee d Time Time Time Current\n Dload Uplo ad Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\ncurl: (7) Failed to connect to localhost po rt 8080: Connection refused\n" } ] }, "StartedTs": 1703674764, "FinishedTs": 1703674607 }, "Image": "sha256:821b12469245999c8e8bacd7275b7810d087995f1ece15f6d3cacc6 65052b270", "ResolvConfPath": "/volume1/@docker/containers/69ae45a41dd70ce3c7a9e3853 2dc3a8c4bdcc30372d426c5513f6e82258abdb3/resolv.conf", "HostnamePath": "/volume1/@docker/containers/69ae45a41dd70ce3c7a9e38532d c3a8c4bdcc30372d426c5513f6e82258abdb3/hostname", "HostsPath": "/volume1/@docker/containers/69ae45a41dd70ce3c7a9e38532dc3a 8c4bdcc30372d426c5513f6e82258abdb3/hosts", "LogPath": "/volume1/@docker/containers/69ae45a41dd70ce3c7a9e38532dc3a8c 4bdcc30372d426c5513f6e82258abdb3/log.db", "Name": "/openhab", "RestartCount": 0, "Driver": "btrfs", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "docker-default", "ExecIDs": null, "HostConfig": { "Binds": [ "/volume1/docker/openHAB/addons:/openhab/addons:rw", "/volume1/docker/openHAB/conf:/openhab/conf:rw", "/volume1/docker/openHAB/userdata:/openhab/userdata:rw" ], "ContainerIDFile": "", "LogConfig": { "Type": "db", "Config": {} }, "NetworkMode": "host", "PortBindings": null, "RestartPolicy": { "Name": "always", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "CgroupnsMode": "host", "Dns": null, "DnsOptions": null, "DnsSearch": null, "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", "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/b in", "CRYPTO_POLICY=limited", "GROUP_ID=65536", "KARAF_EXEC=exec", "LC_ALL=en_US.UTF-8", "LANG=en_US.UTF-8", "LANGUAGE=en_US.UTF-8", "OPENHAB_BACKUPS=/openhab/userdata/backup", "OPENHAB_CONF=/openhab/conf", "OPENHAB_HOME=/openhab", "OPENHAB_HTTP_PORT=8080", "OPENHAB_HTTPS_PORT=8443", "OPENHAB_LOGDIR=/openhab/userdata/logs", "OPENHAB_USERDATA=/openhab/userdata", "USER_ID=1031" ], "ConsoleSize": [ 0, 0 ], "Isolation": "", "CpuShares": 50, "Memory": 1555038208, "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, "DeviceRequests": null, "KernelMemory": 0, "KernelMemoryTCP": 0, "MemoryReservation": 0, "MemorySwap": 3110076416, "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": null, "Name": "btrfs" }, "Mounts": [ { "Type": "bind", "Source": "/volume1/docker/openHAB/addons", "Destination": "/openhab/addons", "Mode": "rw", "RW": true, "Propagation": "rprivate" }, { "Type": "bind", "Source": "/volume1/docker/openHAB/conf", "Destination": "/openhab/conf", "Mode": "rw", "RW": true, "Propagation": "rprivate" }, { "Type": "bind", "Source": "/volume1/docker/openHAB/userdata", "Destination": "/openhab/userdata", "Mode": "rw", "RW": true, "Propagation": "rprivate" } ], "Config": { "Hostname": "openhab", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "5007/tcp": {}, "8080/tcp": {}, "8101/tcp": {}, "8443/tcp": {} }, "Tty": true, "OpenStdin": true, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/b in", "CRYPTO_POLICY=limited", "GROUP_ID=65536", "KARAF_EXEC=exec", "LC_ALL=en_US.UTF-8", "LANG=en_US.UTF-8", "LANGUAGE=en_US.UTF-8", "OPENHAB_BACKUPS=/openhab/userdata/backup", "OPENHAB_CONF=/openhab/conf", "OPENHAB_HOME=/openhab", "OPENHAB_HTTP_PORT=8080", "OPENHAB_HTTPS_PORT=8443", "OPENHAB_LOGDIR=/openhab/userdata/logs", "OPENHAB_USERDATA=/openhab/userdata", "USER_ID=1031" ], "Cmd": [ "gosu", "openhab", "tini", "-s", "./start.sh" ], "Healthcheck": { "Test": [ "CMD-SHELL", "curl -f http://localhost:${OPENHAB_HTTP_PORT}/ || exit 1" ], "Interval": 300000000000, "Timeout": 5000000000, "Retries": 3 }, "Image": "openhab/openhab:latest", "Volumes": { "/openhab/addons": {}, "/openhab/conf": {}, "/openhab/userdata": {} }, "WorkingDir": "/openhab", "Entrypoint": [ "/entrypoint" ], "OnBuild": null, "Labels": { "org.opencontainers.image.authors": "openHAB ", "org.opencontainers.image.created": "2023-12-22T19:10:43Z", "org.opencontainers.image.description": "An open source, technol ogy agnostic home automation platform", "org.opencontainers.image.documentation": "https://www.openhab.o rg/docs/installation/docker.html", "org.opencontainers.image.licenses": "EPL-2.0", "org.opencontainers.image.revision": "7c939c6eec43d8a93cab9a078d 5749a52601d5f2", "org.opencontainers.image.source": "https://github.com/openhab/o penhab-docker.git", "org.opencontainers.image.title": "openHAB", "org.opencontainers.image.url": "https://www.openhab.org/", "org.opencontainers.image.vendor": "openHAB Foundation e.V.", "org.opencontainers.image.version": "4.1.0" }, "DDSM": false }, "NetworkSettings": { "Bridge": "", "SandboxID": "61892ea12fd948bb6e28be354b6b13272f5ba3fc9db572ccb347b3 6b1e3c1389", "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": "ea5407d89839a7dbf58d9da391433f66f707888aef506e 0516cbef0977985342", "EndpointID": "7e7dac5e7e615918d62f3fdc0879e680263d482de5944 64ced30d57729a368d1", "Gateway": "", "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "", "DriverOpts": null } } } } ] hannes@heckner_storage:~$