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

Running docker-compose pull results in unauthorized errors #566

Closed
rowanfuchs opened this issue Jun 1, 2021 · 3 comments
Closed

Running docker-compose pull results in unauthorized errors #566

rowanfuchs opened this issue Jun 1, 2021 · 3 comments
Labels
Docker Docker-related issues and PRs.

Comments

@rowanfuchs
Copy link

rowanfuchs commented Jun 1, 2021

docker-compose version 1.29.0, build 07737305
Platform: Windows

The full command docker-compose pull --ignore-pull-failures || true fails in windows as the separators are not valid, so I ran docker-compose pull but this results into the following error:

C:\Projects\Sylius-Standard> docker-compose pull
Pulling mysql   ... done
Pulling php     ... error
Pulling nodejs  ... error
Pulling nginx   ... error
Pulling mailhog ... done

ERROR: for php  unauthorized: access to the requested resource is not authorized

ERROR: for nodejs  unauthorized: access to the requested resource is not authorized

ERROR: for nginx  unauthorized: access to the requested resource is not authorized
ERROR: unauthorized: access to the requested resource is not authorized
unauthorized: access to the requested resource is not authorized
unauthorized: access to the requested resource is not authorized
@mantans
Copy link

mantans commented Jun 3, 2021

You can refer to these steps that I have indicated here

#552

@olimination
Copy link

Hi @rowanfuchs
as far as I understand the Docker setup this error message is not really an error because docker-compose tries to download the Docker image from quay.io/sylius/php:latest. "Quay" is a Docker container management platform provided by Red Hat, see https://quay.io/. So actually what you really want is to build the Docker image in any case by yourself, not pulling it from quay.io.
So just do a docker-compose build directly to build the Docker image, this will then be placed in your local Docker "registry".

@Ferror Ferror added the Docker Docker-related issues and PRs. label May 31, 2022
@Ferror
Copy link
Contributor

Ferror commented May 31, 2022

It is already fixed

@Ferror Ferror closed this as completed May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docker Docker-related issues and PRs.
Projects
None yet
Development

No branches or pull requests

4 participants