mirror of https://github.com/docker/docs.git
updated instructions for manual install
Before extracting the archive you must stop the service or the file docker.exe can't be overwritten. Additionally need to use -Force
This commit is contained in:
parent
54483a979d
commit
8305c23792
|
|
@ -108,8 +108,11 @@ installs, or install on air-gapped systems.
|
||||||
register, and start the Docker service.
|
register, and start the Docker service.
|
||||||
|
|
||||||
```PowerShell
|
```PowerShell
|
||||||
|
#Stop Docker service
|
||||||
|
Stop-Service docker
|
||||||
|
|
||||||
# Extract the archive.
|
# Extract the archive.
|
||||||
Expand-Archive {{ filename }} -DestinationPath $Env:ProgramFiles
|
Expand-Archive {{ filename }} -DestinationPath $Env:ProgramFiles -Force
|
||||||
|
|
||||||
# Clean up the zip file.
|
# Clean up the zip file.
|
||||||
Remove-Item -Force {{ filename }}
|
Remove-Item -Force {{ filename }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue