Skip to content

Docker needs sudo on Unices #5

Open
@hongooi73

Description

@hongooi73

Hi, I found your package from the rockerverse paper. Nice work!

One thing though: running docker typically requires sudo on Unix-based OSes, including Linux and Mac. I'll make a PR for this.

> list_images()
WARNING: Error loading config file: /home/hongo/.docker/config.json: stat /home/hongo/.docker/config.json: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/json: dial unix /var/run/docker.sock: connect: permission denied
Error in gregexpr(pattern = "\\s\\s\\w", header)[[1]] :
  subscript out of bounds
In addition: Warning message:
running command 'docker image ls ' had status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions