fix(docs): fix on the windows installation script
Modify the parameter `-Path` to reference a folder, so `Copy-Item` create the destination folder. Remove "-Container:$false" that flatten the hierarchy folder. Signed-off-by: VERNOU Cédric <1659796+vernou@users.noreply.github.com>
This commit is contained in:
parent
e2bf34feaf
commit
ef6b91947e
@ -116,7 +116,7 @@ curl.exe -L https://github.com/containerd/containerd/releases/download/v$Version
|
||||
tar.exe xvf .\containerd-windows-amd64.tar.gz
|
||||
|
||||
# Copy and configure
|
||||
Copy-Item -Path ".\bin\*" -Destination "$Env:ProgramFiles\containerd" -Recurse -Container:$false -Force
|
||||
Copy-Item -Path ".\bin" -Destination "$Env:ProgramFiles\containerd" -Recurse -Force
|
||||
cd $Env:ProgramFiles\containerd\
|
||||
.\containerd.exe config default | Out-File config.toml -Encoding ascii
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user