singularity icon indicating copy to clipboard operation
singularity copied to clipboard

Permission Issues Related to Docker Config.json Gives Misleading Errors

Open ikaneshiro opened this issue 6 years ago • 3 comments

Version of Singularity:

singularity version
3.0.0-274.g224e2e91

Expected behavior

$ singularity build test.sif docker://ubuntu
INFO:    Starting build...
FATAL:   While performing build: conveyor failed to get: error getting username and password: error reading JSON file "/home/ian/.docker/config.json": Permission Denied.

Or something similar.

Actual behavior

$ singularity build test.sif docker://ubuntu
INFO:    Starting build...
FATAL:   While performing build: conveyor failed to get: error getting username and password: error reading JSON file "/home/ian/.docker/config.json": error unmarshaling JSON at "/home/ian/.docker/config.json": unexpected end of JSON input

Steps to reproduce behavior

Log into docker to create a ~/.docker/config.json Try to build any container from dockerhub

ikaneshiro avatar Oct 29 '18 14:10 ikaneshiro

Hello,

This is a templated response that is being sent out to all open issues. We are working hard on 'rebuilding' the Singularity community, and a major task on the agenda is finding out what issues are still outstanding.

Please consider the following:

  1. Is this issue a duplicate, or has it been fixed/implemented since being added?
  2. Is the issue still relevant to the current state of Singularity's functionality?
  3. Would you like to continue discussing this issue or feature request?

Thanks, Carter

carterpeel avatar May 15 '21 16:05 carterpeel

This issue has been automatically marked as stale because it has not had activity in over 60 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 14 '21 17:07 stale[bot]

@ikaneshiro Still getting this problem ? Have this been solved already ? If yes, what work around have you followed and applied ?

pedroalvesbatista avatar Jul 15 '21 01:07 pedroalvesbatista

Pending issues from the old repo are moved to the new repo (https://github.com/apptainer/apptainer/issues/1391) and cleaned from the old, retired repo

kmuriki avatar Jun 06 '23 03:06 kmuriki