Of course! This is the working container:
docker inspect SignalK
[
{
"Id": "51a006623160c86c21a97c18a09b3fb3fa729075cc91f425437d56b39df4de0a",
"Created": "2024-08-09T07:35:39.771097922Z",
"Path": "sh",
"Args": [
"/home/node/signalk/startup.sh"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 252065,
"ExitCode": 0,
"Error": "",
"StartedAt": "2024-08-09T07:35:39.881748021Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:8f99fad9e74f1dd723d6d92023284a08e4b058a9a5baeee15a95bbec125caacc",
"ResolvConfPath": "/media/pi/Docker/Docker-System/containers/51a006623160c86c21a97c18a09b3fb3fa729075cc91f425437d56b39df4de0a/resolv.conf",
"HostnamePath": "/media/pi/Docker/Docker-System/containers/51a006623160c86c21a97c18a09b3fb3fa729075cc91f425437d56b39df4de0a/hostname",
"HostsPath": "/media/pi/Docker/Docker-System/containers/51a006623160c86c21a97c18a09b3fb3fa729075cc91f425437d56b39df4de0a/hosts",
"LogPath": "/media/pi/Docker/Docker-System/containers/51a006623160c86c21a97c18a09b3fb3fa729075cc91f425437d56b39df4de0a/51a006623160c86c21a97c18a09b3fb3fa729075cc91f425437d56b39df4de0a-json.log",
"Name": "/SignalK",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/dev:/dev:rw",
"/media/pi/Docker/Docker-Compose/SignalK/SignalK-data:/home/node/.signalk:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {
"max-size": "10m"
}
},
"NetworkMode": "host",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
0,
0
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "private",
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": [],
"GroupAdd": [
"20"
],
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": true,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": [
"label=disable"
],
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"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": [
{
"PathOnHost": "/media/pi/Docker/Docker-Compose/SignalK/sailorhat-usb-0",
"PathInContainer": "/dev/ttyUSB0",
"CgroupPermissions": "rwm"
},
{
"PathOnHost": "/media/pi/Docker/Docker-Compose/SignalK/garmin-usb-0",
"PathInContainer": "/dev/ttyUSB1",
"CgroupPermissions": "rwm"
}
],
"DeviceCgroupRules": null,
"DeviceRequests": null,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": null,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": null,
"ReadonlyPaths": null
},
"GraphDriver": {
"Data": {
"LowerDir": "/media/pi/Docker/Docker-System/overlay2/812a48fd1032fcce6f5821289f3771a8ff425377a8c1f071e4aa19e5ec134cd5-init/diff:/media/pi/Docker/Docker-System/overlay2/dd0a55fa93c697b16a5d10b066aedefc61a7f9a0bbe693190bee505f0698174c/diff:/media/pi/Docker/Docker-System/overlay2/090a42eed8414a1d5c11cd1142222ab26584634aa0d4b735725aa1a9b53d3ad2/diff:/media/pi/Docker/Docker-System/overlay2/6a5832c7aca4b7a1a148b4ed6330f98bcd9bfac23531016130a9d554186b7e54/diff:/media/pi/Docker/Docker-System/overlay2/d2e2967b632f9f28ed89040eba1ed223190b94f4a0e42c978a355d4d44707cfd/diff:/media/pi/Docker/Docker-System/overlay2/d09a02a08a023f771bfd7f576e9a79adc4c68502d448ba92811e16a30b9f8885/diff:/media/pi/Docker/Docker-System/overlay2/c9e67a3be5656ec6bd0c9972aa44e2e2f400560caf36ef1fdb5797eb5a62886d/diff:/media/pi/Docker/Docker-System/overlay2/a31f7bad96cc0c0e738c37b7bb72800939a93d73c03e03cfe89e6f7418329bd3/diff:/media/pi/Docker/Docker-System/overlay2/59d85abea48b115ac4c483f3cf9fd1274d231fbef1f31cca931f8b3916242d5b/diff:/media/pi/Docker/Docker-System/overlay2/19edc0d2c09320b621a3e72fb680e8bda09cd25bcc080f27304aae8d60238aa9/diff:/media/pi/Docker/Docker-System/overlay2/40fa2da52577f8526c2b2f7952a6d0c966878092f997a89a2c7d60da10dd950b/diff:/media/pi/Docker/Docker-System/overlay2/9b9c11379ba948cdcd5e76f0bc74ad6349502ffdb5d4dd12caffed3b2fd0ee9c/diff:/media/pi/Docker/Docker-System/overlay2/0080a30f4a85c38e0bba0055d63c9faacf55e7bf0f0691c21f5cf835e5f76f79/diff:/media/pi/Docker/Docker-System/overlay2/bf4b2bf81f974dcd996c0f46749bc8f06428fb9e21d09fbc83b5425ea0ba7047/diff",
"MergedDir": "/media/pi/Docker/Docker-System/overlay2/812a48fd1032fcce6f5821289f3771a8ff425377a8c1f071e4aa19e5ec134cd5/merged",
"UpperDir": "/media/pi/Docker/Docker-System/overlay2/812a48fd1032fcce6f5821289f3771a8ff425377a8c1f071e4aa19e5ec134cd5/diff",
"WorkDir": "/media/pi/Docker/Docker-System/overlay2/812a48fd1032fcce6f5821289f3771a8ff425377a8c1f071e4aa19e5ec134cd5/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/dev",
"Destination": "/dev",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/media/pi/Docker/Docker-Compose/SignalK/SignalK-data",
"Destination": "/home/node/.signalk",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "MadMax",
"Domainname": "",
"User": "node",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"3000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PORT=3000",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"IS_IN_DOCKER=true"
],
"Cmd": null,
"Image": "cr.signalk.io/signalk/signalk-server:latest",
"Volumes": null,
"WorkingDir": "/home/node/.signalk",
"Entrypoint": [
"sh",
"/home/node/signalk/startup.sh"
],
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "d64872f46d218eaec24f543b2c48b22e972d3776bebb18c45133b574ffb3056e",
"com.docker.compose.container-number": "1",
"com.docker.compose.depends_on": "",
"com.docker.compose.image": "sha256:8f99fad9e74f1dd723d6d92023284a08e4b058a9a5baeee15a95bbec125caacc",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "signalk",
"com.docker.compose.project.config_files": "/media/pi/Docker/Docker-Compose/SignalK/docker-compose.yml",
"com.docker.compose.project.working_dir": "/media/pi/Docker/Docker-Compose/SignalK",
"com.docker.compose.service": "signalk-server",
"com.docker.compose.version": "2.29.1",
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "22.04"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "d07c28f255014973263c1f6ebe7e874971a8d1441bf820060172b307f189dc70",
"SandboxKey": "/var/run/docker/netns/default",
"Ports": {},
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"host": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"MacAddress": "",
"DriverOpts": null,
"NetworkID": "245453f741be61add912647f656e8965e4562889c1bb37ebc7b00ba46822650e",
"EndpointID": "bf43fa6aacf461971c245997ecf49f2923e6e3003900a6bbed6e214bdd7a60d0",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DNSNames": null
}
}
}
}
]
I donât think there is any dangerous information there, any passwords wouldnât be what I use outside of Docker, and if somebody are in my boat trying to hack it they have a much bigger problem than a password, namely a 100 kilos, bearded viking!
Edit: But this is of course with the symlinks to the serial ports.