Help snapping a Docker image

I could use some guidance on creating a snap of a docker image as the process isn't very straightforward and I'm already at least halfway through. Let me begin by stating what I have done so far.

The app was already developped and I followed a process to create a Docker image. To accomplish that, I installed Docker Engine on Ubuntu22 (running as VM on VMware hosted on Windows PC). The image is built.

I cloned the ctrlX SDK github repo on the Ubuntu VM. I need to create snap of the image and the application manual I was reading references some scripts to do that, but I cannot find them. The how-to video from Sgilk alludes to configging the snap with YAML files using VS Code. I ran the script install-dotnet-sdk.sh and now.....I need to install VS Code itself, correct?

Best reply by Sgilk

AutomateSHANE ,

There are way too many pieces of the puzzle to make a comprehensive How-To that isn't multiple hours long. The scope of the video was a tutorial on deploying a container on the ctrlX Container Engine application. Each application will require unique configuration, so only a few examples could be shown.

It was not meant to be a comprehensive tutorial on snapcraft, Docker or other software development concepts. See the "Useful Links" section of the article for more information on those puzzle pieces.

View original
5 replies