Last active
November 12, 2025 09:35
-
-
Save klaasnicolaas/fb99fcc4d44ea5ac967e18e82b95b529 to your computer and use it in GitHub Desktop.
Run Portainer in Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| services: | |
| portainer: | |
| image: portainer/portainer-ce:2.35.0 | |
| container_name: portainer | |
| restart: unless-stopped | |
| security_opt: | |
| - no-new-privileges:true | |
| volumes: | |
| - /etc/localtime:/etc/localtime:ro | |
| - /var/run/docker.sock:/var/run/docker.sock:ro | |
| - portainer_data:/data | |
| ports: | |
| - 9001:9000 | |
| volumes: | |
| portainer_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment