Skip to main content

Posts

Showing posts from November, 2026

UPDATE PORTAINER

 Step-by-Step Update Commands 1. Stop the running Portainer container: # docker stop portainer 2. Remove the old container:bash # docker rm portainer (Note: This only deletes the container itself, not your persistent /data volume or settings). 3. Pull the latest Portainer Community Edition (CE) image:bash # docker pull portainer/portainer-ce:latest 4. Recreate and start the Portainer container: Make sure to re-use your exact same volume and port mappings (for example, /var/run/docker.sock and your portainer_data volume): # docker 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 portainer/portainer-ce:latest (If you use HTTP on port 9000 instead of HTTPS on 9443, adjust -p 9000:9000 accordingly.)