Portainer configuration
Portainer can be tuned using CLI flags.
Use your own logo
You do not like our logo? Want to make Portainer more corporate? Don't worry, you can easily switch for an external logo using the --logo flag:
Hiding specific containers
Portainer allows you to hide container with a specific label by using the -l flag.
For example, take a container started with the label owner=acme:
Simply add the -l owner=acme option on the CLI when starting Portainer:
Use your own templates
Portainer allows you to rapidly deploy containers using App Templates.
By default Portainer templates will be used but you can also define your own templates.
Add the --templates flag and specify the external location of your templates when starting Portainer:
For more information about hosting your own template definitions and the format, see: https://github.com/portainer/templates
Available flags
The following flags are available:
--host, -H: Docker daemon endpoint (default: "unix:///var/run/docker.sock")
--bind, -p: Address and port to serve Portainer (default: ":9000")
--data, -d: Path to the data folder (default: ".")
--assets, -a: Path to the assets (default: ".")
--swarm, -s: Docker Swarm cluster / swarm-mode support (default: false)
--tlsverify: TLS support (default: false)
--tlscacert: Path to the CA (default /certs/ca.pem)
--tlscert: Path to the TLS certificate file (default /certs/cert.pem)
--tlskey: Path to the TLS key (default /certs/key.pem)
--hide-label, -l: Hide containers with a specific label in the UI
--logo: URL to a picture to be displayed as a logo in the UI
--templates, -t: URL to templates (apps) definitions