Creating the Project
First, let's look at the directories and files we need to create:
carmen-worker-spec
├── dat/
├── lib/
├── build
├── Dockerfile
├── env
├── gxsd.dat
├── run
└── stop
Run the following shell commands to create the structure above:
mkdir -p ./carmen-worker-spec/dat
cd ./carmen-worker-spec
mkdir lib
touch build Dockerfile env gxsd.dat run stop
chmod +x build run stop
In the later steps of this tutorial, we will copy the engine binaries into the dat and lib directories, add their configuration to the gxsd.dat XML file, add the build instructions to the Dockerfile, and create the build, run and stop scripts to make managing the container easier.