I am trying to get node red installed on Wago-PFC200 8204 but i am getting an error while executing “docker pull nodered/node-red/” command about having no space on my device.
is there any way i can pull the docker image into my sd-card (or basically change the directory where it is extracting the image)?
I am using SD card as mass storage device and a bootable device as well. I successfully installed docker via using the CODESYS web page however i am not sure whether the docker is installed on the internal memory or not.
Goal is to get node-red installed on the Sd-card.
Please let me know if you have any idea to solve this. Thank you very much
Hello thank you very much for your response. I am pretty sure i did selected the full card size for the image, because before that i was unable to even get the docker installed on the PFC via CODESYS as the Wago PFC has very low flash memory. Here is some information about my installed docker.
Never try this from a bootable SD card but have you tried changing the Docker root dir as suggests @WagoGrim ?
You should try creating a docker folder in /dev/root, then use it in the daemon.json file.
Restart the docker daemon
/etc/init.d/dockerd restart
Check if this ok :
docker system info --format '{{.DockerRootDir}}'
Then you will have to download again your images and so on.
Hello i did change my daemon.json file and pointing towards my SD card however i am still stuck at the same error. Here is details of my daemon.json file.
Hello, somehow by making change on the Daemon.json file, i was able to install node-red but however when i am launching wago PFC ip:1880 on web browser, it still does not connect.
then create a new container with the command; docker run --restart unless-stopped -d --name node-red --network=host -v node_red_user_data:/data nodered/node-red
Thank you very much, i can access the node-red on 1880 port now. I still have a question that the in the command you mentioned above “–restart unless-stopped”, will it start nodered automatically on the system startup or i have to manually enable the container it is in via ssh root@IP ?
Great to hear! --restart unless-stopped will allow you to stop the container manually if you choose but will otherwise automatically start on power up. To manually stop this container, use the command: docker stop node-red
and then to start it again use docker start node-red