Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
Stolarskis opened this issue Nov 20, 2024 · 0 comments
Labels
status/triage Needs triage

Comments

@Stolarskis
Copy link

Stolarskis commented Nov 20, 2024

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
@Stolarskis Stolarskis added the status/triage Needs triage label Nov 20, 2024
@Stolarskis Stolarskis changed the title Instructions to update/install docker scout for MacOs are unclear - but I found a better way! Instructions to update/install docker scout for MacOs aren't working - but I found a better way! Nov 20, 2024
@Stolarskis Stolarskis changed the title Instructions to update/install docker scout for MacOs aren't working - but I found a better way! Instructions to update/install docker scout on MacOs aren't working - but I found a better way! Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/triage Needs triage
Projects
None yet
Development

No branches or pull requests

1 participant