A beautiful shell script that automatically updates Portainer CE to the latest version with a nice visual interface.
- 🎨 Beautiful progress interface with color-coded steps
- ✅ Automatic container management (stop, remove, pull, create)
- 🔒 Root permission check
- 🚀 Error handling and status messages
- 📝 Maintains all Portainer volumes and data
curl -s https://raw.githubusercontent.com/AnusLab/portainer-ce-updater/main/update_portainer.sh | sudo bash
- Download the script:
wget https://raw.githubusercontent.com/AnusLab/portainer-ce-updater/main/update_portainer.sh
- Make it executable:
chmod +x update_portainer.sh
- Run with sudo:
sudo ./update_portainer.sh
- Docker installed and running
- Bash shell
- Root/sudo access
After running the script, Portainer will be available at:
- HTTPS (IPv4):
https://<YOUR-SERVER-IPV4>:9443
- HTTPS (IPv6):
https://[<YOUR-SERVER-IPV6>]:9443
This project is licensed under the MIT License - see the LICENSE file for details.