Skip to content

docker permission  #13

Description

@anex004

Hi, I am trying the get the docker image using the following command:

docker pull gitlab.kitware.com:4567/diva-baseline/diva-baseline:DIVA_1_A_Evaluation

But I am getting the permission denied error.

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.37/images/create?fromImage=gitlab.kitware.com%3A4567%2Fdiva-baseline%2Fdiva-baseline&tag=DIVA_1_A_Evaluation: dial unix /var/run/docker.sock: connect: permission denied

Any suggestion how to resolve this.

Thanks,
Anirban

Activity

  1. as6520 commented on Aug 28, 2018

    @as6520

    Try using sudo with the command

  2. anex004 commented on Aug 28, 2018

    @anex004
    Author

    Hi, thanks. Tried with sudo. Got the following error:

    Error response from daemon: Get https://gitlab.kitware.com:4567/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

  3. as6520 commented on Aug 29, 2018

    @as6520

    Could you verify your docker setup by pulling alpine image? Use docker pull alpine to check if you can pull in pre-built image.

  4. anex004 commented on Aug 29, 2018

    @anex004
    Author

    docker pull alpine works fine.

  5. collinsr commented on Aug 29, 2018

    @collinsr
    Member

    Are you in an environment with any sort of network proxies or other restrictions?

    Can you clone the git repository hosted on gitlab.kitware.com?

    git clone [email protected]:DIVA-baseline/DIVA-baseline.git?

    Ah wait, that's not public...?

  6. anex004 commented on Aug 29, 2018

    @anex004
    Author

    Hi,

    This works: git clone https://gitlab.kitware.com/DIVA-baseline/DIVA-baseline

    Is it possible to share the docker file, then I can try to build the docker locally.

    Thanks.

  7. Cookt2 commented on Aug 29, 2018

    @Cookt2

    If I'm not mistaken; the dockerfile is available on the same repo as the prebuilt docker image.
    here: https://gitlab.kitware.com/DIVA-baseline/DIVA-baseline/blob/master/Dockerfile

  8. anex004 commented on Aug 31, 2018

    @anex004
    Author

    Thanks, I am preparing the docker from the docker file. I get the following error while doing so.


    [ 13%] Linking CXX shared library ../../lib/libvital_logger.so
    [ 13%] Built target vital_logger
    Makefile:149: recipe for target 'all' failed
    make[3]: *** [all] Error 2
    CMakeFiles/kwiver.dir/build.make:112: recipe for target 'DIVA-ExternalProject-Stamps/kwiver-build' failed
    make[2]: *** [DIVA-ExternalProject-Stamps/kwiver-build] Error 2
    CMakeFiles/Makefile2:143: recipe for target 'CMakeFiles/kwiver.dir/all' failed
    make[1]: *** [CMakeFiles/kwiver.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2
    

    Seems like its getting stuck while building the "kwiver"

  9. collinsr commented on Sep 2, 2018

    @collinsr
    Member

    There isn't enough information here to diagnose the problem. Please include

    • System information: OS, compiler
    • The contents of the CMakeCache.txt from your kwiver build directory
    • The complete output from make
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