GITBOOK-35: Add note re host management features to Agent install instructions
parent
f32c60141a
commit
3f61f5540d
|
@ -23,6 +23,14 @@ From the menu select **Environments** then click **Add environment**.
|
|||
|
||||
Next, select **Docker Standalone** as the environment type then click **Start Wizard**. Select the **Agent** option, then your environment type. Copy the command for your environment type and run it on your Docker Standalone instance. For example, if you are deploying on a Linux machine or a Windows machine with WSL installed, use the **Linux & Windows WSL** command. If you are deploying on a Windows machine with WCS, use the **Windows WCS** command.
|
||||
|
||||
{% hint style="info" %}
|
||||
If you want to use the [host management features](../../../../user/docker/host/setup.md#enable-host-management-features) of the Portainer Agent, you should add the necessary volume mount to the command that Portainer provides:
|
||||
|
||||
```
|
||||
-v /:/host
|
||||
```
|
||||
{% endhint %}
|
||||
|
||||
Once the Agent has been deployed, enter the environment details using the table below as a guide:
|
||||
|
||||
| Field/Option | Overview |
|
||||
|
|
|
@ -33,6 +33,14 @@ Next, select **Docker Swarm** as the environment type then click **Start Wizard*
|
|||
You must run the command on the Docker Swarm cluster before entering the environment details.
|
||||
{% endhint %}
|
||||
|
||||
{% hint style="info" %}
|
||||
If you want to use the [host management features](../../../../user/docker/swarm/setup.md#host-and-filesystem) of the Portainer Agent, you should add the necessary volume mount to the command that Portainer provides:
|
||||
|
||||
```
|
||||
--mount type=bind,src=//,dst=/host
|
||||
```
|
||||
{% endhint %}
|
||||
|
||||
<figure><img src="../../../../.gitbook/assets/2.16-environments-add-swarm-agent.png" alt=""><figcaption></figcaption></figure>
|
||||
|
||||
The deployment command will return something similar to this:
|
||||
|
|
Loading…
Reference in New Issue