thank you, so this gives me:
docker container inspect mynodered
[
{
"Id": "dd6470bf5577324318d545c9fd1e2f82884c4bc8caf089cc71313129bb52bca2",
"Created": "2022-12-21T21:52:40.894954259Z",
"Path": "./entrypoint.sh",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 22993,
"ExitCode": 0,
"Error": "",
"StartedAt": "2023-01-19T17:20:43.611978636Z",
"FinishedAt": "2023-01-19T17:18:45.492706532Z",
"Health": {
"Status": "healthy",
"FailingStreak": 0,
"Log": [
{
"Start": "2023-05-20T23:49:29.168470751+02:00",
"End": "2023-05-20T23:49:29.70610141+02:00",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2023-05-20T23:49:59.72832206+02:00",
"End": "2023-05-20T23:50:00.292651946+02:00",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2023-05-20T23:50:30.313912296+02:00",
"End": "2023-05-20T23:50:30.835439157+02:00",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2023-05-20T23:51:00.864505979+02:00",
"End": "2023-05-20T23:51:01.421649658+02:00",
"ExitCode": 0,
"Output": ""
},
{
"Start": "2023-05-20T23:51:31.447880805+02:00",
"End": "2023-05-20T23:51:31.983950103+02:00",
"ExitCode": 0,
"Output": ""
}
]
}
},
"Image": "sha256:35f3062b67d1af0a3a6110270f7fd9ced7049ac61c0560e253b3e770a86a5587",
"ResolvConfPath": "/var/lib/docker/containers/dd6470bf5577324318d545c9fd1e2f82884c4bc8caf089cc71313129bb52bca2/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/dd6470bf5577324318d545c9fd1e2f82884c4bc8caf089cc71313129bb52bca2/hostname",
"HostsPath": "/var/lib/docker/containers/dd6470bf5577324318d545c9fd1e2f82884c4bc8caf089cc71313129bb52bca2/hosts",
"LogPath": "/var/lib/docker/containers/dd6470bf5577324318d545c9fd1e2f82884c4bc8caf089cc71313129bb52bca2/dd6470bf5577324318d545c9fd1e2f82884c4bc8caf089cc71313129bb52bca2-json.log",
"Name": "/mynodered",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"node_red_data:/data"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"1880/tcp": [
{
"HostIp": "",
"HostPort": "1880"
}
]
},
"RestartPolicy": {
"Name": "unless-stopped",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "private",
"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": [],
"DeviceCgroupRules": null,
"DeviceRequests": null,
"KernelMemory": 0,
"KernelMemoryTCP": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": null,
"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/06be145635f1a3c1eec3fdd853e29c0851fb1f33d09c9d00486bc5426d780ddc-init/diff:/var/lib/docker/overlay2/002356923a8d9ea9e1f44e94a6ee0492277be6ee25447aeb5b08eee759dc8043/diff:/var/lib/docker/overlay2/963b7120aed938cc0d781834d157859fe3ed4e986371661aba12fe72f24c5889/diff:/var/lib/docker/overlay2/696f0435d2322a839210a6cab9a7827b3b894080c8614f75d8f0184435395251/diff:/var/lib/docker/overlay2/bb0e044f55a04ef694cfbd59bc7d8e6db4369a7de9689a59a7f0b8397ca2b6f0/diff:/var/lib/docker/overlay2/35c4e557cfb99b36055f1e17707e3d094bc89282fcdd0a2ef16a9e694ba50602/diff:/var/lib/docker/overlay2/8a1f78c4e24ba37f8844e149ad47c623956ce63edce2f68fec9db6bb35d4d92c/diff:/var/lib/docker/overlay2/876236a87408cb06791fae7810aec73207727490de9ff1141387567d7e92cd98/diff:/var/lib/docker/overlay2/6a56d8aced850b93dc3f6fd17f9ef2c9831f546ca137489aa5ba0e19cd879311/diff:/var/lib/docker/overlay2/b07117a73c17d1cd412ad08c671eee1bbbd3be234f4c9872d75f0d472310cc1d/diff:/var/lib/docker/overlay2/83366201535e1e41c942e141356f8204d722558953392857ab8c349227f78c81/diff:/var/lib/docker/overlay2/e1c54f31f96c00bf68ff43770884f55b81b3315b1230fe82bd3cc85813f2bc92/diff:/var/lib/docker/overlay2/f09f9c100f8136e199360eb2d548f6f36c49e31b81b00c3fd2b8ac6c4d922328/diff:/var/lib/docker/overlay2/5795d2626113e4823faeabdde114b537563b3e5a4e8094b0109caf5e2253569c/diff:/var/lib/docker/overlay2/c6b7814c8b11c500d8d2548c3122144b49acb16a0034100cbc46811d8ab3e471/diff:/var/lib/docker/overlay2/6b9b3f13b5b1b1e94d30b968953b1adbf63eea988db9a7c18ce2bbac78e95b02/diff:/var/lib/docker/overlay2/e70c25172f76a7b295c859995199f9eaa11b1dc3dd8932ff560e13435926478d/diff:/var/lib/docker/overlay2/530d54415235ecc51d79425824d2da1ab91aecf02a05d636c114fac36434d809/diff",
"MergedDir": "/var/lib/docker/overlay2/06be145635f1a3c1eec3fdd853e29c0851fb1f33d09c9d00486bc5426d780ddc/merged",
"UpperDir": "/var/lib/docker/overlay2/06be145635f1a3c1eec3fdd853e29c0851fb1f33d09c9d00486bc5426d780ddc/diff",
"WorkDir": "/var/lib/docker/overlay2/06be145635f1a3c1eec3fdd853e29c0851fb1f33d09c9d00486bc5426d780ddc/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "volume",
"Name": "node_red_data",
"Source": "/var/lib/docker/volumes/node_red_data/_data",
"Destination": "/data",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "dd6470bf5577",
"Domainname": "",
"User": "node-red",
"AttachStdin": true,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"1880/tcp": {}
},
"Tty": true,
"OpenStdin": true,
"StdinOnce": true,
"Env": [
"PATH=/usr/src/node-red/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=16.16.0",
"YARN_VERSION=1.22.19",
"NODE_RED_VERSION=v3.0.2",
"NODE_PATH=/usr/src/node-red/node_modules:/data/node_modules",
"FLOWS=flows.json"
],
"Cmd": null,
"Healthcheck": {
"Test": [
"CMD-SHELL",
"node /healthcheck.js"
]
},
"Image": "nodered/node-red",
"Volumes": null,
"WorkingDir": "/usr/src/node-red",
"Entrypoint": [
"./entrypoint.sh"
],
"OnBuild": null,
"Labels": {
"authors": "Dave Conway-Jones, Nick O'Leary, James Thomas, Raymond Mouthaan",
"org.label-schema.arch": "",
"org.label-schema.build-date": "2022-08-04T13:19:23Z",
"org.label-schema.description": "Low-code programming for event-driven applications.",
"org.label-schema.docker.dockerfile": ".docker/Dockerfile.alpine",
"org.label-schema.license": "Apache-2.0",
"org.label-schema.name": "Node-RED",
"org.label-schema.url": "https://nodered.org",
"org.label-schema.vcs-ref": "",
"org.label-schema.vcs-type": "Git",
"org.label-schema.vcs-url": "https://github.com/node-red/node-red-docker",
"org.label-schema.version": "3.0.2"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "d24f8c678b99f3e1acee65d725b6a2a6a0286d4049753ed1ac396aea1f3588fc",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"1880/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "1880"
},
{
"HostIp": "::",
"HostPort": "1880"
}
]
},
"SandboxKey": "/var/run/docker/netns/d24f8c678b99",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "c4ef5f663db649849052ba05d05b81ea1d721860c1e23bde2527bf228cd9dfe4",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "2e968d4fee6d099229fd908a9718cd3ee27b09306afaccda3f091fe11dc8dd14",
"EndpointID": "c4ef5f663db649849052ba05d05b81ea1d721860c1e23bde2527bf228cd9dfe4",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02",
"DriverOpts": null
}
}
And now I would like to add this docker to docker-compose.yml (and stop it from loading however it is loading today)