- Getting started
- Creating projects
- OPC UA
- Graphic objects
- Predefined graphic objects
- Object and variable references
- Extending projects
- NetLogic
- Tutorials
- Dynamic links tutorial
- Graphic objects tutorial
- NetLogic tutorial
- OPC UA tutorial
Create a Docker image with a FactoryTalk Optix Application
Create a
Docker®
image with FactoryTalk Optix Runtime
based on Ubuntu®
22.04 x86 64-bit.Prerequisites
Download and install
Docker
.
IMPORTANT:
Rockwell Automation
is not responsible for any third-party software, including but not limited to its
performance, security, updates, or compatibility with our products. Any use of third-party
software is at your own risk, and we do not provide support, warranties, or guarantees for
such software. Users should refer to the respective third-party providers for assistance and
licensing terms.- To create a Docker image with a FactoryTalk Optix Application
- InFactoryTalk Optix Studio:
- Prepare a project to run in aDockercontainer. See Projects.TIP: (optional) If your application has GUI, replace the native presentation engine with a web presentation engine to access the application interface through web. See Presentation engines.
- Export the project forUbuntu 22.04 x86 64-bitplatform. See Export a FactoryTalk Optix Application.
- In an editor of choice, create aDockerfileinside the folder that contains the exported application folder.Consider the following expected folder structure:C:\ exported_application_folder\ DockerfileConsider the following minimalDockerfileconfiguration:# Base image Ubuntu_22_x64 FROM ubuntu:22.04 SHELL ["/bin/bash", "-c"] # Install dependencies and clean output image RUN apt-get update RUN apt-get install -y libxcb-cursor0 libglib2.0-bin libltdl7 libevent-dev -qq RUN apt-get autoremove -y && apt-get clean -y && apt-get autoclean -y # Copy the FactoryTalk Optix Application COPY ./FTOptixApplication /root/FTOptixApplication RUN chmod +x /root/FTOptixApplication/FTOptixRuntime # Default entry is the FactoryTalk Optix Application ENTRYPOINT ["/root/FTOptixApplication/FTOptixRuntime", "-c"]For an advanced example, see https://github.com/FactoryTalk-Optix/Optix_Docker_FTOptixUpdateServer.
- In the terminal, create aDockerimage by enteringdocker build -timage_namedockerfile_folder
- image_name
- The name of the image. For example:ftoptix-runtime
- dockerfile_folder
- Path to the folder that contains theDockerfileand the exported application.
Provide Feedback