Skip to content

Instructions to update/install docker scout on MacOs aren't working - but I found a better way! #21472

Description

@Stolarskis

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Steps for installing/updating docker scout on mac os are not working.

Description

The instructions for updating the docker scout plugin on Mac OS are not working for me. I followed each step with the only confusing part being where to add the cliPluginsExtraDirs in the config file. I added the following to the end of my config file (~/.docker/config.json).

  "cliPluginsExtraDirs": [
    "$HOME/.docker/scout"
  ]

However the old version of docker scout is still used when I use the main docker command.

For verification, .docker/scout/docker-scout has permissions to execute and i'm able to use it accordingly if I call it directly from the command line.

Also, small nitpick here, I think there may be a typo in steps 4 and 5's commands, they have backticks at the end.

 chmod +x $HOME/.docker/scout/docker-scout`
xattr -d com.apple.quarantine $HOME/.docker/scout/docker-scout`.

Location

https://docs.docker.com/scout/install/

Suggestion

I found an easier way to update/install docker scout without any changes to the config file.

  1. Download the latest release from the releases page.

  2. Make the binary executable:

 chmod +x <path to executable>/docker-scout
  1. Authorize the binary to be executable on macOS:
xattr -d com.apple.quarantine  <path to executable>/docker-scout
  1. Copy the docker-scout executable into the docker cli-plugins directory
cp <path to executable>/docker-scout $HOME/.docker/cli-plugins

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions