I open this topic because I find that the Portainer package lacks functionality in the launch parameters.
Currently, by selecting all the containers, the Portainer container is inadvertently deleted, rendering the tool KO'd, which means having to go back to the NAS to relaunch the container in the long term.
Which is very frustrating
My proposal would be the possibility of modifying the command via the graphical interface.
In the example below, I add a label that matches a value and if the hiden is true, hide the container
Code: Select all
docker run -d \
-p XXXX:8000 -p YYYY:9000 \
--name=PortainerCE \
--restart=always \
--label Portainer="hide"\
-v /var/run/docker.sock:/var/run/docker.sock \
-v PortainerCE:/data portainer/portainer-ce \
--hide-label Portainer="hide" ;
Code: Select all
--label Portainer="hide"
--hide-label Portainer="hide" ;