Updating app container image and run container with updated image

NeverEnd

Dabbler
Joined
Jun 4, 2019
Messages
32
I migrated from CORE to SCALE recently, installed Ubuntu as an "app" with "Launch Docker Image", and then did some changes in the container:

Code:
apt-get update
apt-get install sudo
apt-get install openssh-server
......


After a restart everything I did in Ubuntu was lost, so I did "docker commit xxxx ubuntu:v1.1" and a new image was created. Then I restarted the app (in SCALE UI) and all the packages/config changes were reserved.

I searched for below questions but did not get the answer, could someone let me know:
1. with docker I can commit a new image and run container with the new image, is there a way to do so with SCALE UI, or SCALE will always run container with the newest image?
2. Is it possible to run docker images with SCALE CLI (without using UI and "apps") and have the containers running after SCALE is restarted? If so, is there any documentation/instruction to follow?
 
Top