Skip to content

Commit 69b1763

Browse files
committed
scout: fix manual cli bin install steps
Signed-off-by: David Karlsson <[email protected]>
1 parent 6c8c8f8 commit 69b1763

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

content/manuals/scout/install.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,16 @@ $ sh install-scout.sh
4646
```json
4747
{
4848
"cliPluginsExtraDirs": [
49-
"$HOME/.docker/scout"
49+
"/home/<USER>/.docker/scout"
5050
]
5151
}
5252
```
5353

54+
Substitute `<USER>` with your username on the system.
55+
56+
> [!NOTE]
57+
> The path for `cliPluginsExtraDirs` must be an absolute path.
58+
5459
{{< /tab >}}
5560
{{< tab name="macOS" >}}
5661

@@ -65,25 +70,30 @@ $ sh install-scout.sh
6570
4. Make the binary executable:
6671

6772
```console
68-
$ chmod +x $HOME/.docker/scout/docker-scout`
73+
$ chmod +x $HOME/.docker/scout/docker-scout
6974
```
7075

7176
5. Authorize the binary to be executable on macOS:
7277

7378
```console
74-
xattr -d com.apple.quarantine $HOME/.docker/scout/docker-scout`.
79+
xattr -d com.apple.quarantine $HOME/.docker/scout/docker-scout.
7580
```
7681

7782
6. Add the `scout` subdirectory to your `.docker/config.json` as a plugin directory:
7883

7984
```json
8085
{
8186
"cliPluginsExtraDirs": [
82-
"$HOME/.docker/scout"
87+
"/Users/<USER>/.docker/scout"
8388
]
8489
}
8590
```
8691

92+
Substitute `<USER>` with your username on the system.
93+
94+
> [!NOTE]
95+
> The path for `cliPluginsExtraDirs` must be an absolute path.
96+
8797
{{< /tab >}}
8898
{{< tab name="Windows" >}}
8999

@@ -100,11 +110,16 @@ $ sh install-scout.sh
100110
```json
101111
{
102112
"cliPluginsExtraDirs": [
103-
"C:\Users\MobyWhale\.docker\scout"
113+
"C:\Users\<USER>\.docker\scout"
104114
]
105115
}
106116
```
107117

118+
Substitute `<USER>` with your username on the system.
119+
120+
> [!NOTE]
121+
> The path for `cliPluginsExtraDirs` must be an absolute path.
122+
108123
{{< /tab >}}
109124
{{< /tabs >}}
110125

0 commit comments

Comments
 (0)