Skip to content

This repo contains static linked binaries of docker ce packed in linux ipk format.

License

Notifications You must be signed in to change notification settings

WAGO/docker-ipk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

docker-ipk-preview

This repo contains static linked binaries of docker ce packed in linux ipk format. Check Release tags to get the newest version and needed FW.

How to install Docker CE on Wago devices.

Prerequisites for tutorial

  • Wago PFC Generation 2 (e.g. 750-8212, 750-8213..)
  • Wago Touch Panel 600 (e.g 0762-4104, 0762-4103..)
  • Edge Controller (e.g 0752-8303..)
  • CC100 PLC (e.g. 751-9301..)
    ALL DEVICES: => with min. firmware 12 or higher installed in flash.

Notice: Only FW 17-18-19 is supported for older Versions.
Using actual Version fits since FW20 up to date.

Installation

  1. Start Wago PFC.
  2. Open WBM (Web Base Management) menu "Software Uploads".
install docker
  1. Navigate to wago docker IPK. (e.g. docker_xx.xx.xx_armhf.ipk)
  2. Then press "Install" button.
  3. After finishing, you should see the success message.
success message
  1. Open menu "Networking -> Routing" and activate the IP Forwarding chekbox. (Don't forget to press the Submit button!)
ip forwarding
  1. Restart the PFC (e.g. menu "Administration -> Reboot")

PFC Login

Start SSH Client e.g. Putty

login as `root`
password `wago`

Check docker installation

docker info
docker ps # to see all running container (no container should run)
docker images # to see all preinstalled images

Enjoy the power of the whale!

Move docker "DATA-ROOT" to the SD card.

Due to the lack of memory on the "home" partition it is interesting to move the docker "data-root" to an SD card. This approach offers the following advantages:

  • positioning of more docker images on the PFC.
  • any images / containers can be pre-installed by replacing the SD card.
  • the physical portability of the images / containers increases.

Migration of docker "data-root"

  1. Insert any SD card into the WAGO device (preferably WAGO SD card)
  2. Open WBM (Web Base Management) menu "Mass Storage".
format sd card
  1. Select "Ext4" as file system type and assign a label for the SD partition (in our case "sd"). Then press the start button.

  2. Stop running docker daemon.

         /etc/init.d/dockerd stop
  3. Copy actual docker data root folder to sd card.

    cp -r /home/docker /media/sd/
  4. Edit daemon.json and change docker "data-root" entry.

    vi /etc/docker/daemon.json or nano /etc/docker/daemon.json
daemon.json
  1. Start docker daemon.

    /etc/init.d/dockerd start
  2. Check docker functionality.

    docker info
    docker ps # to see all running container 
    docker images # to see all preinstalled images

Links

  1. https://www.wago.com/de/
  2. https://github.com/docker/docker-ce

DISCLAIMER:


THE OWNER MAKES NO WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE CONFIDENTIAL INFORMATION AND HEREBY EXPRESSLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.