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

repository does not exist or may require 'docker login' #264

Open
alexauvray opened this issue Jul 4, 2024 · 2 comments
Open

repository does not exist or may require 'docker login' #264

alexauvray opened this issue Jul 4, 2024 · 2 comments

Comments

@alexauvray
Copy link

docker compose up -d --build

migrator Error pull access denied for bot, repository does not exist or may require 'docker login': denied: requested access to the res...

Copy link

github-actions bot commented Jul 4, 2024

Hello! 👋 Thank you for opening your first issue. We appreciate your contribution! 🎉

@donBarbos
Copy link
Owner

Honestly, I do not know why this error arises, apparently this is due to the fact that migrator have image: bot:latest, but this image name also have service bot
(maybe you have an outdated version of docker/docker compose, try to update versions)


If the problem was not able to solve, you can remove service migrator from docker-compose.yml file and manually start migrations like this: docker compose exec bot alembic upgrade head but to make this you need add volume to service bot:

    volumes:
      - ./migrations:/usr/src/app/migrations

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