Open Portainer at http://localhost:8000, go to "Settings" (bottom left), at the "Hidden containers" section, and add an entry with name=hidden, value=true:
Now the portainer's container won't be visible at the containers list.
Here is how you can do it without destroying and rebuilding your existing container.
Go to the container and see what labels are assigned to the container. By default, the only label installed to portainer on the initial setup is io.portainer.server with a value of true.
Go to Settings > Settings > Hidden Containers and add the label name of io.portainer.server with a value of true. Click +Add filter.
When you go back to your containers list, you will no longer see the Portainer container. The dashboard will also no longer count it as one of the countainers in its statistics. It will still be listed as a volume and an image.
2
Answers
Inside a console, run:
This will create a new image of Portainer, with the label hidden="true" applied.
Then, re-install the Portainer's docker container:
Open Portainer at http://localhost:8000, go to "Settings" (bottom left), at the "Hidden containers" section, and add an entry with name=hidden, value=true:
Now the portainer's container won't be visible at the containers list.
Here is how you can do it without destroying and rebuilding your existing container.
Go to the container and see what labels are assigned to the container. By default, the only label installed to portainer on the initial setup is io.portainer.server with a value of true.
Go to Settings > Settings > Hidden Containers and add the label name of io.portainer.server with a value of true. Click +Add filter.
When you go back to your containers list, you will no longer see the Portainer container. The dashboard will also no longer count it as one of the countainers in its statistics. It will still be listed as a volume and an image.