Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

chrome extension: failed to run docker info #201

Closed

Description

@teddy-codes

I think that we should better display that sail failed to start. Currently, the popup window (black terminal in browser) opens/displays the text/exits without me being able to fully note the error. Not sure that should be the expected behavior.

Edit:
As a note, on MacOS, this is a problem. On my Linux machine, sail runs beautifully.

Activity

  1. joeblew99 commented on Aug 13, 2019

    @joeblew99

    any answers from the team ?

  2. teddy-codes commented on Aug 14, 2019

    @teddy-codes
    ContributorAuthor
  3. BeckettOBrien commented on Aug 22, 2019

    @BeckettOBrien

    I am having the same issue on MacOS. Docker is running, and updated to the latest version. I can successfully run docker info from the terminal, but not with the sail extension.

  4. barretlee commented on Oct 29, 2019

    @barretlee

    Same problem, waiting for solution.

  5. hfc-advance commented on Nov 5, 2019

    @hfc-advance

    Same problem, waiting for solution.

  6. dougnukem commented on Mar 10, 2020

    @dougnukem
    Contributor

    Same I'm getting the following error:

    2020-03-10 17:05:47 FATAL	failed to run `docker info`: exec: "docker": executable file not found in $PATH
    
    failed to read sail output: exit status 1
    

    My docker is at:

    $ which docker
    /usr/local/bin/docker
    
    $ docker --version
    Docker version 19.03.5, build 633a0ea
    
    

    MacOS 10.15.3 (19D76)

  7. dougnukem commented on Mar 10, 2020

    @dougnukem
    Contributor

    One work around is to launch chrome from the terminal so it has the proper $PATH:

    $ open /Applications/Google\ Chrome.app
    

    Then the sail chrome browser extension works (or at least does not get that initial error).

    I think the more appropriate fix would be to modify sail binary to append /usr/local/bin to the PATH if it detects it's running on MacOS darwin to work around this common setup.

    See for similar issues with Chrome extensions:

  8. added 2 commits that reference this issue on Mar 10, 2020
    893e693
    5bd868e
  9. dougnukem commented on Mar 10, 2020

    @dougnukem
    Contributor

    Proposed fix for sail to include /usr/local/bin when running on MacOS to work resolve this issue:

    #264

  10. added a commit that references this issue on Mar 17, 2020
    4ac2968
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions