Upgrading a container using Docker

Docker is installed and running on your device.
  1. To view what Docker images are loaded, open a command prompt and run the command: docker image ls.


    A list of all Docker images stored locally will be displayed including details such as repository name, tag, image ID and creation time.

  2. To view what Docker volumes are used, run the docker volume Is command.


    A list of all Docker volumes that are currently available on your device are displayed.
    Note: It uses niagara_niagara-user-home which is mapped in the docker-compose.yml.
  3. To load a new Docker image from Tridium, run the docker load < command.


    The system integrator loads the .tar file, which is, in this example, the vykon-fda-amd64-4.14.0.162.tar file.

  4. To confirm the Docker loaded image for use, run the docker image ls command.


    In this example, you can use five Docker images.

  5. Edit the docker-compose.yml file.


    In this example, the active image line is copied and commented out with the #, then it is pasted back. The image file name and tag are changed as follows: image: Vykon-fda-amd64:4.14.0.162.

  6. To start the container, run the docker compose up command.


  7. Confirm the upgrade via a platform connection in Workbench.


    In this example, an Ubunto virtual machine is used to run the Docker environment, which does not contain Workbench. A localhost is used as the IP address on the PC in Workbench. You will connect to the platform to verify the update and use the IP address of your environment.