Project

General

Profile

Actions

How to use OpenOpcUa Docker image

Overview

This docker image is based on Debian linux/amd64. It contains an OpenOpcUa (OOUA) demo. The demo simulate a tank with a bunch of methods and variables.
There is a Tank01 instance (UAObject) of TankType (UAObjectType). You can play with method StartPump, StopPump, Drain, GetCurrentLevel, etc.
The server is listening on port 2407.

Introduction

The docker image is hosted on a public Docker Repository on Docker Hub. Do you can pull it and use it as long as you want.

Requirements

1) A valid docker account
2) Docker Desktop installed Download here
3) An OPC UA client to connect to the server

How to use it ?

1) Get the image from Docker hub from a command line
2) Start a commande line (CMD)
3) To get the image from Docker hub.
From the command line enter the following command:
>docker pull michel4ce/oouasimulationtank:0.0.1

  1. To run the image From the commande line enter the following command: >docker container run -dp 2407:2407 -t michel4ce/oouasimulationtank:0.0.1

Verify the container was receive properly.

Using Docker Desktop go to the Images list. You shall see something like this :
Docker images!

Verify the the image is runnning properly.

  1. If the image was started properly. Then the port 2407 shall be bind. As you can see from the Inpect tab : Container bound!
  2. From the Log tab. you can see that the server is running listening on : >opc.tcp://localhost:2407/DemoTank Running! ## Connect using an OPC UA client Here an example with UAExpert from Unified Automation. But you can use any client. Connect a client!

If you are facing problem don't hesite to create an issue
Open an issue

Updated by Michel Condemine Admin over 1 year ago · 1 revisions