Replace the TP or Edge Controller Firmware on the fly with Docker.
Statistics Docker Hub
Start Host Firmware update
Device must be used with Firmware inside Flash.
Docker Daemon should be installed and also used inside Flash.
(Please use newest Version, min. Version: https://github.com/WAGO/docker-ipk/releases/download/v1.0.3-beta/docker_19.03.13_armhf.ipk )
!!! Since FW23 Docker is part of the firmware, just enable via WBM the Daemon !!!
Make sure that the firewall is deactivated during the update.
How to use with Docker CLI interface:
docker run -d \
--restart on-failure:1 \
--name=fw \
--env PASSWORD="YOUR EDGE_CONTROLLER ROOT PASSWORD" \
--env SERVICE_NAME=fw \
--env MAX_UPDATE_RETRYS=5 \
--env CERT_NAME=ca.crt \
--env FILEPATH=/etc/docker/ \
--env FILE=daemon.json \
wagoautomation/fw-update-edge:x.x.x-x
Copy
Before do a new update, remove the stopped Container if all is finished and delete older images because of less flash space.
Best practice is to use an sd card as home folder for docker
If you like to use that with Portainer-CE
Install Portainer-CE.
Paste following URL inside Portainer-CE "App-template", Settings Side:
Use Menupoint "App Templates"
Click the template, make your settings (Advanced options) and push "deploy" button.
Before do a new update, remove the stopped Container if all is finished.
Be patient, replace takes up to 10 minutes.
Disclaimer
This update is an EXAMPLE howto update your device via docker environment.
It is not released for productive using.
If you have questions or like to use it in a real production environment, please just contact: