From 828ca07c741eb39a2ac3e5e0207614f85cda7688 Mon Sep 17 00:00:00 2001 From: Paulius Bulotas Date: Tue, 3 Apr 2018 16:30:27 +0300 Subject: [PATCH] swap arg order for admin-password-file --- docs/source/configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/configuration.rst b/docs/source/configuration.rst index 018691e..86b9757 100644 --- a/docs/source/configuration.rst +++ b/docs/source/configuration.rst @@ -48,7 +48,7 @@ You can also store the plaintext password inside a file and use the ``--admin-pa # mypassword is plaintext here $ echo -n mypassword > /tmp/portainer_password - $ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer -v /tmp/portainer_password:/tmp/portainer_password --admin-password-file /tmp/portainer_password + $ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/portainer_password:/tmp/portainer_password portainer/portainer --admin-password-file /tmp/portainer_password This works well with Swarm & Docker secrets too: