Merge pull request #8355 from docker/windows-node-label

Removed step for adding Windows nodes label
This commit is contained in:
Maria Bermudez 2019-03-11 17:57:00 -07:00 committed by GitHub
commit 3a128d0e44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 21 deletions

View File

@ -28,30 +28,13 @@ Docker Enterprise 2.1.
Follow these steps to configure the docker daemon and the Windows environment.
1. Add a label to the node.
2. Pull the Windows-specific image of `ucp-agent`, which is named `ucp-agent-win`.
3. Run the Windows worker setup script provided with `ucp-agent-win`.
4. Join the cluster with the token provided by the Docker UCP web interface or CLI.
1. Pull the Windows-specific image of `ucp-agent`, which is named `ucp-agent-win`.
2. Run the Windows worker setup script provided with `ucp-agent-win`.
3. Join the cluster with the token provided by the Docker UCP web interface or CLI.
### Add a label to the node
Configure the Docker Engine running on the node to have a label. This makes
it easier to deploy applications on nodes with this label.
Create the file `C:\ProgramData\docker\config\daemon.json` with the following
content:
```
{
"labels": ["os=windows"]
}
```
Restart Docker for the changes to take effect:
```
Restart-Service docker
```
As of Docker Enterprise 2.1, which includes UCP 3.1, this step is no longer necessary. Windows nodes are automatically assigned the `ostype` label `ostype=windows`.
### Pull the Windows-specific images