mirror of https://github.com/docker/docs.git
[3.0]Fix snippet to prepare Windows node
This commit is contained in:
parent
c9c6c94a37
commit
23682a9354
|
@ -62,7 +62,9 @@ for the Docker daemon to communicate securely. Use this command to run
|
|||
the Windows node setup script:
|
||||
|
||||
```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
|
||||
|
|
Loading…
Reference in New Issue