-
Notifications
You must be signed in to change notification settings - Fork 422
Description
After my previous problem of my own making (not remembering that I needed to update the version in the Docker Compose file), I first upgraded to 4.0.9. Today I saw that 4.1.0 was out a couple of days ago, so I tried to upgrade. But after using the exact same Docker Compose file, only changing 4.0.9 to 4.1.0 in the line FROM nodered/node-red:4.1.0-debian
, I get "image unhealthy" with Docker PS
and I can't connect to it on MQTT or the frontend (which stands chewing forever until I break it). I have no idea how to find out what the problem is, but this is my Docker Compose file:
services:
node-red:
build:
dockerfile_inline: |
FROM nodered/node-red:4.1.0-debian
USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends iputils-ping sshpass openssh-client
USER node-red
container_name: Node-RED
privileged: true
restart: no
group_add:
- "20"
environment:
- TZ=Europe/Oslo
network_mode: host
devices:
- /dev/serial/by-id/usb-RFXCOM_RFXtrx433_A119M1VX-if00-port0:/dev/ttyUSB0
volumes:
- /media/pi/Docker/Docker-Compose/Node-RED/Data:/data
- /media/pi/Docker/Docker-Compose:/home/pi/Docker-Compose:ro
- /home/pi/.ssh/known_hosts:/usr/src/node-red/.ssh/known_hosts
- type: bind
source: /home/pi/Node-RED-omstarter.txt
target: /home/pi/Node-RED-omstarter.txt
Stopping the container, running docker system prune -a
and restarting/pulling again makes it work as it should with 4.0.9. I have tried going back and forth a few times, same result every time.