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

"docker-compose up --build" fails with docker-compose 2.x.x (but not 1.x.x) #332

Open
beppe9000 opened this issue Nov 7, 2021 · 2 comments
Assignees
Labels

Comments

@beppe9000
Copy link

[root@starbase-01 jawanndenn]# docker-compose up --build
WARN[0000] The "JAWANNDENN_DEBUG" variable is not set. Defaulting to a blank string.
WARN[0000] The "JAWANNDENN_URL_PREFIX" variable is not set. Defaulting to a blank string.
WARN[0000] The "JAWANNDENN_SENTRY_DSN" variable is not set. Defaulting to a blank string.
WARN[0000] The "JAWANNDENN_ALLOWED_HOSTS" variable is not set. Defaulting to a blank string.
WARN[0000] The "JAWANNDENN_SENTRY_DSN" variable is not set. Defaulting to a blank string.
WARN[0000] The "JAWANNDENN_URL_PREFIX" variable is not set. Defaulting to a blank string.
WARN[0000] The "JAWANNDENN_ALLOWED_HOSTS" variable is not set. Defaulting to a blank string.
WARN[0000] The "JAWANNDENN_DEBUG" variable is not set. Defaulting to a blank string.
WARN[0000] The "JAWANNDENN_SENTRY_DSN" variable is not set. Defaulting to a blank string.
[+] Running 0/3
 ⠿ postgres Error                                                                                                                                        1.4s
 ⠿ redis Error                                                                                                                                           1.4s
 ⠿ cron Error                                                                                                                                            1.4s
Error response from daemon: pull access denied for jawanndenn_jawanndenn, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
[root@starbase-01 jawanndenn]#
@hartwork
Copy link
Owner

hartwork commented Nov 7, 2021

Hi @beppe9000 is this with the Golang re-write 2.x.x of docker-compose or with the Python-based 1.x.x version? I don't get this error with the Python version.

@hartwork hartwork self-assigned this Nov 7, 2021
@hartwork
Copy link
Owner

hartwork commented Nov 8, 2021

@beppe9000 I can confirm now that this is an issue with docker-compose 2.x.x but not 1.x.x, as verified with version 2.1.1 and 1.29.2 locally. A workaround is to first run docker compose build and then docker compose up -d.

@hartwork hartwork changed the title uunable to start with docker-compose "docker-compose up --build" fails with docker-compose 2.x.x (but not 1.x.x) Nov 8, 2021
@hartwork hartwork pinned this issue Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants