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.
If you already have a local instance of CISO Assistant, please refer to the migration guide
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.shUsing image local build
./docker-compose-build.shMigration 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:
I want a rootless Docker and I am currently running CISO Assistant with pre-built images
You are using docker-compose.yml to deploy Ciso Assistant
git pull
docker compose down
sudo chown -R 1001:1001 ./dbThen 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 -dYour 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.
I want a rootless Docker and I am currently running CISO Assistant with local images
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
Keep the root Docker as it was before
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
In the case you did update the github repository by doing a git pull command, we suggest you to take an older version of the file (like the v3.15.5 docker-compose.yml version)
Simple rootless check
If you want to verify if you run a rootless Docker container, do:
It should say :
Last updated
Was this helpful?