Skip to content

Instantly share code, notes, and snippets.

@willwm
Created May 3, 2019 19:59
Show Gist options
  • Save willwm/308d6aec7b0da2ab4ccbbcf409f2c9a9 to your computer and use it in GitHub Desktop.
Save willwm/308d6aec7b0da2ab4ccbbcf409f2c9a9 to your computer and use it in GitHub Desktop.
Run Portainer for Windows and hide the portainer container from the UI
docker run -d -p 9000:9000 --name portainer --restart always --label hide=true -v /var/run/docker.sock:/var/run/docker.sock -v C:\ProgramData\Portainer:/data portainer/portainer -l hide=true
@willwm
Copy link
Author

willwm commented May 3, 2019

https://portainer.readthedocs.io/en/stable/configuration.html#hiding-specific-containers

Note: be sure to include both the --label hide=true and -l hide=true flags!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment