Closed evsasha closed 7 years ago
You'll need to use the -l
flags according to the docs here: https://portainer.readthedocs.io/en/latest/configuration.html#hiding-specific-containers
So update the docker-compose.yml
file with the following content for the portainer definition:
portainer:
image: portainer/portainer
container_name: "portainer-app"
command: --templates http://templates/templates.json -d /data -l owner=portainer
networks:
- local
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /opt/portainer/data:/data
labels:
owner: "portainer"
Thank you it's work!
How hiding in portainer-compose?
Labels in docker-compose.yml like:
don't work.