mirror of https://github.com/docker/docs.git
scout: fix manual cli bin install steps
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
6c8c8f874b
commit
69b1763b6b
|
@ -46,11 +46,16 @@ $ sh install-scout.sh
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"cliPluginsExtraDirs": [
|
"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 >}}
|
||||||
{{< tab name="macOS" >}}
|
{{< tab name="macOS" >}}
|
||||||
|
|
||||||
|
@ -65,13 +70,13 @@ $ sh install-scout.sh
|
||||||
4. Make the binary executable:
|
4. Make the binary executable:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ chmod +x $HOME/.docker/scout/docker-scout`
|
$ chmod +x $HOME/.docker/scout/docker-scout
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Authorize the binary to be executable on macOS:
|
5. Authorize the binary to be executable on macOS:
|
||||||
|
|
||||||
```console
|
```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:
|
6. Add the `scout` subdirectory to your `.docker/config.json` as a plugin directory:
|
||||||
|
@ -79,11 +84,16 @@ $ sh install-scout.sh
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"cliPluginsExtraDirs": [
|
"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 >}}
|
||||||
{{< tab name="Windows" >}}
|
{{< tab name="Windows" >}}
|
||||||
|
|
||||||
|
@ -100,11 +110,16 @@ $ sh install-scout.sh
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"cliPluginsExtraDirs": [
|
"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 >}}
|
{{< /tab >}}
|
||||||
{{< /tabs >}}
|
{{< /tabs >}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue