From d84d3659b41d17a406b94d07cc7eef4f96891ac8 Mon Sep 17 00:00:00 2001 From: Dave Mackey Date: Sun, 25 Aug 2019 14:22:38 -0400 Subject: [PATCH] Update deployment.rst Added additional clarifications on which commands are for Linux based installs and which are for Windows based. Correct a few minor grammar issues. Highlighted that directories must be manually created on Windows for persisting data. --- docs/source/deployment.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/source/deployment.rst b/docs/source/deployment.rst index e7ee32e..11570a0 100644 --- a/docs/source/deployment.rst +++ b/docs/source/deployment.rst @@ -9,7 +9,7 @@ Portainer deployment scenarios can be executed on any platform unless specified. Quick start =========== -Deploying Portainer is as simple as: +If you are running Linux, deploying Portainer is as simple as: :: @@ -38,8 +38,7 @@ Persist Portainer data By default, Portainer store its data inside the container in the ``/data`` folder on Linux (``C:\\data`` on Windows). -You'll need to persist Portainer data to keep your changes after restart/upgrade of the Portainer container. You can use a bind mount -to persist the data on the Docker host folder: +You'll need to persist Portainer data to keep your changes after restart/upgrade of the Portainer container. You can use a bind mount on Linux to persist the data on the Docker host folder: :: @@ -47,9 +46,11 @@ to persist the data on the Docker host folder: Windows ---------------------------------------------------------- -Docker for Windows 10 supports running both Linux and Windows containers and you need use different start command depending which one you are using. +Docker for Windows 10 supports running both Linux and Windows containers and you need to use a different start command depending which container type you are using. Windows Server supports only native Windows containers. +**Note:** You must create the folder in which you want the data to be persisted before running the following command. For example, if you want the data to persist in C:\ProgramData\Portainer you need to create the Portainer directory within C:\ProgramData as it does not exist by default. + Example for Linux containers: ::