Encrypting the Portainer database
Docker Standalone
Create a secret
Mount the secret
docker stop portainer
docker rm portainer-v /root/secrets/portainer:/run/secrets/portainerdocker run -d -p 8000:8000 -p 9443:9443 --name portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
-v /root/secrets/portainer:/run/secrets/portainer \
portainer/portainer-ee:ltsDocker Swarm
Create a secret
Existing installations: Update the service
New installations: Edit the compose file
Kubernetes
Create a secret
Modify the YAML file
Last updated
Was this helpful?