Docker server images using template's Git repository

docker
Docker server images using template's Git repository
0
Tags: #<Tag:0x00007f6488cdd0e0>

(David AZOULAY) #1

It is now possible to start a Simplicité instance Docker container directly from the public base simplicite/server images by read-only mounting the local template’s Git repository as a volume into it.

After cloning the template’s Git repository on your host server a typical run command is like:

sudo docker run -d -v <template's repo path>:/usr/local/template:ro <other options: -p ... -e ... etc.> simplicite/server[:<tag>]

After pulling your template’s Git repository a simple restart of your container (sudo docker restart <container ID>) will automatically upgrade your container to the up-to-date revision of the template.

Note: This is what the Docker version of the Simplicité Instances Manager (SIM) does

See DockerHub page and the corresponding GitHub repo for details