Skip to content

Commit

Permalink
Merge pull request #21673 from dvdksn/fix-macinstall-scoutbin
Browse files Browse the repository at this point in the history
scout: fix manual cli bin install steps
  • Loading branch information
dvdksn authored Dec 19, 2024
2 parents 6c8c8f8 + 69b1763 commit c41ed45
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions content/manuals/scout/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" >}}

Expand All @@ -65,25 +70,30 @@ $ 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:

```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" >}}

Expand All @@ -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 >}}

Expand Down

0 comments on commit c41ed45

Please sign in to comment.