Merge pull request #21673 from dvdksn/fix-macinstall-scoutbin

scout: fix manual cli bin install steps
This commit is contained in:
David Karlsson 2024-12-19 17:23:39 +01:00 committed by GitHub
commit c41ed45e6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 5 deletions

View File

@ -46,11 +46,16 @@ $ sh install-scout.sh
```json
{
"cliPluginsExtraDirs": [
"$HOME/.docker/scout"
"/home/<USER>/.docker/scout"
]
}
```
Substitute `<USER>` with your username on the system.
> [!NOTE]
> The path for `cliPluginsExtraDirs` must be an absolute path.
{{< /tab >}}
{{< tab name="macOS" >}}
@ -65,13 +70,13 @@ $ sh install-scout.sh
4. Make the binary executable:
```console
$ chmod +x $HOME/.docker/scout/docker-scout`
$ chmod +x $HOME/.docker/scout/docker-scout
```
5. Authorize the binary to be executable on macOS:
```console
xattr -d com.apple.quarantine $HOME/.docker/scout/docker-scout`.
xattr -d com.apple.quarantine $HOME/.docker/scout/docker-scout.
```
6. Add the `scout` subdirectory to your `.docker/config.json` as a plugin directory:
@ -79,11 +84,16 @@ $ sh install-scout.sh
```json
{
"cliPluginsExtraDirs": [
"$HOME/.docker/scout"
"/Users/<USER>/.docker/scout"
]
}
```
Substitute `<USER>` with your username on the system.
> [!NOTE]
> The path for `cliPluginsExtraDirs` must be an absolute path.
{{< /tab >}}
{{< tab name="Windows" >}}
@ -100,11 +110,16 @@ $ sh install-scout.sh
```json
{
"cliPluginsExtraDirs": [
"C:\Users\MobyWhale\.docker\scout"
"C:\Users\<USER>\.docker\scout"
]
}
```
Substitute `<USER>` with your username on the system.
> [!NOTE]
> The path for `cliPluginsExtraDirs` must be an absolute path.
{{< /tab >}}
{{< /tabs >}}