```console
$ scoop install rancher-desktop
Installing 'rancher-desktop' (1.6.1) [64bit] from extras bucket
Checking hash of Rancher.Desktop.Setup.1.6.1.exe ... ok.
Extracting dl.7z ... done.
Running pre_install script...
Copy-Item:
Line |
2 | Copy-Item "$dir\`$PLUGINSDIR\install-wsl.ps1" "$dir"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path 'C:\Users\syoum\scoop\apps\rancher-desktop\1.6.1\$PLUGINSDIR\install-wsl.ps1' because it does not exist.
Linking ~\scoop\apps\rancher-desktop\current => ~\scoop\apps\rancher-desktop\1.6.1
Creating shortcut for Rancher Desktop (Rancher Desktop.exe)
'rancher-desktop' (1.6.1) was installed successfully!
Notes
-----
Rancher requires WSL (Windows Subsystem for Linux) to work properly.
To install WSL, run 'C:\Users\syoum\scoop\apps\rancher-desktop\current\install-wsl.ps1' under Powershell.
```
[[WSL]]のインストール以外は成功してそう。そもそも以下のファイルは存在しない。
```
C:\Users\syoum\scoop\apps\rancher-desktop\current\install-wsl.ps1
```
`wsl`コマンドは使えるので無視。
### 確認
[[Docker]]コマンドはインストールされてそう。
```console
$ which docker
C:/Users/syoum/scoop/apps/rancher-desktop/current/resources/resources/win32/bin/docker.exe
```
ただ、[[Rancher Desktop]]が起動しない。もちろん`docker`コマンドも。
```console
$ docker build --tag helloworld:v1.0 .
error during connect: This error may indicate that the docker daemon is not running.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=helloworld%3Av1.0&target=&ulimits=null&version=1": open //./pipe/docker_engine: The system cannot find the file specified.
```
そもそも公式ドキュメントに[[Scoop]]の手順は存在しないため出直した方がよさそう。
> [!note]
> 管理者権限で[[Scoop]]からインストールすれば利用できる確率は高い。しかし、私の設計では[[Scoop]]を管理者権限でインストールすることは想定していない。それならば、[[Scoop]]以外を使うべきという発想。