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

Failure of docker run due to docker not being logged in should give clearer error message #13

Open
joachim-n opened this issue Mar 29, 2021 · 2 comments

Comments

@joachim-n
Copy link

I was following the instructions in the README for the occhio project and was doing this:

~/Sites/multibasebox/projects/occhio-cms-be joachim$ phab -cmbb docker run
Error response from daemon: Head https://registry.factorial.io:8443/v2/occhio/occhio-cms-be/nuxt/manifests/develop: denied: access forbidden

In CommandResult.php line 51:

  Docker task `runPrepare` failed!


docker [-c|--config CONFIG] [--blueprint [BLUEPRINT]] [--num-threads [NUM-THREADS]] [--variants [VARIANTS]] [-s|--set [SET]] [--force [FORCE]] [-f|--fabfile [FABFILE]] [--skip-cache [SKIP-CACHE]] [--offline [OFFLINE]] [-a|--arguments [ARGUMENTS]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--] <command> <docker>...

~/Sites/multibasebox/projects/occhio-cms-be joachim$ docker login https://registry.factorial.io:8443/

The error message:

Docker task runPrepare failed!

should instead direct me to do docker login.

@joachim-n
Copy link
Author

Oops, should this be in Fabalicious?

@stmh
Copy link
Member

stmh commented Mar 29, 2021

this error is more related to phabalicious than to multibasebox, but in the end its an error in the projects' fabfile. It should include the docker login command for the run-task-definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants