[2.2]Fix snippet to prepare Windows node

This commit is contained in:
Joao Fernandes 2018-04-04 15:52:14 -07:00 committed by Joao Fernandes
parent 3a08079a03
commit 683d14ae4c
1 changed files with 3 additions and 1 deletions

View File

@ -59,7 +59,9 @@ You need to open ports 2376 and 12376, and create certificates
for the Docker daemon to communicate securely. Run this command:
```powershell
docker container run --rm {{ page.ucp_org }}/ucp-agent-win:{{ page.ucp_version }} windows-script | powershell -noprofile -noninteractive -command 'Invoke-Expression -Command $input'
$script = [ScriptBlock]::Create((docker run --rm {{ page.ucp_org }}/ucp-agent-win:{{ page.ucp_version }} windows-script | Out-String))
Invoke-Command $script
```
> Docker daemon restart