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

Lando rebuild with Lagoon integration fails with local-only docker images in docker-compose #4

Open
tobybellwood opened this issue Nov 13, 2020 · 2 comments

Comments

@tobybellwood
Copy link
Collaborator

A Lando rebuild command, when run on a project with local docker tags referenced in the docker-compose file, will error out trying to pull the image - but it will Lando start fine...
e.g.
docker tag uselagoon/mariadb-drupal:latest lagoon/mariadb-drupal:latest
replace the mariadb image in the docker-compose.yml and lando rebuild to see the error

ERROR: for mariadb  pull access denied for lagoon/mariadb-drupal, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

It seems as if Lando is trying to pull the image direct from docker hub, as opposed to seeing it exists locally.

Given the specificity of the integration, this is most very limited in it's scope, but it does hamper local testing.

@ocean
Copy link

ocean commented Feb 18, 2021

This has just bitten me badly, as several of my stack's Dockerfiles reference the local cli image which is built first, and so the lando start fails to build those other images 😭

@stale
Copy link

stale bot commented Aug 22, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.

@rtfm-47 rtfm-47 transferred this issue from lando/lando Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants