Search Blogs Blogs

STK and Docker

By: Johnathan Thompson

Containers have become a very popular topic over the past couple of years, but other than a keyword, what are containers? Containers are used to share a common OS kernel while isolating each application's execution environment.

Using the most popular container tool, Docker, we created a very basic intro to STK on Linux in a containerized-application.  This application deals with the setup of STK on Linux and runs a basic connectConsole application so that the end user can send Connect commands across a TCP/IP connection.

Note: This is built specifically for STK 11.6.1 but will require minimal changes for any other STK 11 version. 

To do this, you need to meet some very basic requirements:

  1. Docker installed on your Windows or Linux machine.

  1. An internet connection to pull images from the docker hub. (If you cannot do this, change the ‘FROM’ command in the dockerfile.)

  2. An STK network license. (This will not work with a nodelocked license.)

The instructions for building this application are provided in this code example.

Posted: 9/9/2019 8:00:00 AM