Docker rootless configuration

Deployment documentation for rootless containers

Since V3.16, CISO Assistant now runs as non-root user 1001:1001 by default across all compose templates.

circle-exclamation

Fresh install

If you are new from Ciso-Assistant, you will automatically be deployed with a rootless Docker configuration by running pre-built images or local image build

Using pre-built images

./docker-compose.sh

Using image local build

./docker-compose-build.sh

Migration guide

You already have a self-hosted Ciso Assistant (Community version or On-Premise Pro version) and you want to know all the options you have:

chevron-rightI want a rootless Docker and I am currently running CISO Assistant with pre-built imageshashtag

You are using docker-compose.yml to deploy Ciso Assistant

git pull
docker compose down
sudo chown -R 1001:1001 ./db

Then update your docker-compose.yml on the version you want (ex: v3.16) or keep latest tag and then ignore the manual update in your file.

docker compose up -d

Your new containers should be root-less!

You are using a custom .yml to deploy Ciso Assistant

If you have any doubt about updating your custom .yml, do not hesitate to contact us on our Discord or Support portal.

chevron-rightI want a rootless Docker and I am currently running CISO Assistant with local imageshashtag
git pull
docker compose down
sudo chown -R 1001:1001 ./db
docker compose -f docker-compose-build.yml up -d 

Keep root Docker

In the case you do not want to have rootless Docker

chevron-rightKeep the root Docker as it was before hashtag

Then manually update your docker-compose.yml on the images version you want (ex: v3.16). Ignore this step if you use latest image

That is it! Since you did not update the github repository, the docker-compose.yml keeps the initial form without root less Docker configuration

circle-exclamation

Simple rootless check

If you want to verify if you run a rootless Docker container, do:

It should say :

Last updated

Was this helpful?