ERROR: pull access denied for nginx/stable-alpine, repository does not exist or may require 'docker login'

Hi,
I have just update Docker for Mac to version 2.0.0.3 (31259) and now when running docker-compose up -d I’m getting:

$ dc up -d
Pulling nginx (nginx/stable-alpine:)…
ERROR: The image for the service you’re trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN]y
Pulling nginx (nginx/stable-alpine:)…
ERROR: pull access denied for nginx/stable-alpine, repository does not exist or may require ‘docker login’

Was almost done with my project and now this :frowning: !!!

Make sure you have logged into Docker Hub.

docker login --usernameyour-docker-id

Done:

$ docker login
Authenticating with existing credentials…
Login Succeeded

Result:

dc up -d
Pulling nginx (nginx/1.15-5.3.2:)…
ERROR: The image for the service you’re trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN]y
Pulling nginx (nginx/1.15-5.3.2:)…
ERROR: pull access denied for nginx/1.15-5.3.2, repository does not exist or may require ‘docker login’

The same!

Downgrading docker-compose also didn’t help.

If was working before the update as I’m on the computer for 18 hours :smiley: LOL

Notes:

It’s still working fine on my cloud server with the latest docker-compose but it doesn’t on Mac OS.

When removing the Tag working fine.

Looks like there is no Docker Official nginx image with a tag of 1.15-5.3.2 in Docker Hub.
You will need to choose another tag.

{
  "name": "library/nginx",
  "tags": [
    "1-alpine-perl",
    "1-alpine",
    "1-perl",
    "1.10-alpine",
    "1.10.0-alpine",
    "1.10.0",
    "1.10.1-alpine",
    "1.10.1",
    "1.10.2-alpine",
    "1.10.2",
    "1.10.3-alpine",
    "1.10.3",
    "1.10",
    "1.11-alpine",
    "1.11.0-alpine",
    "1.11.0",
    "1.11.1-alpine",
    "1.11.1",
    "1.11.10-alpine",
    "1.11.10",
    "1.11.12-alpine",
    "1.11.12",
    "1.11.13-alpine",
    "1.11.13",
    "1.11.3-alpine",
    "1.11.3",
    "1.11.4-alpine",
    "1.11.4",
    "1.11.5-alpine",
    "1.11.5",
    "1.11.6-alpine",
    "1.11.6",
    "1.11.7-alpine",
    "1.11.7",
    "1.11.8-alpine",
    "1.11.8",
    "1.11.9-alpine",
    "1.11.9",
    "1.11",
    "1.12-alpine-perl",
    "1.12-alpine",
    "1.12-perl",
    "1.12.0-alpine-perl",
    "1.12.0-alpine",
    "1.12.0-perl",
    "1.12.0",
    "1.12.1-alpine-perl",
    "1.12.1-alpine",
    "1.12.1-perl",
    "1.12.1",
    "1.12.2-alpine-perl",
    "1.12.2-alpine",
    "1.12.2-perl",
    "1.12.2",
    "1.12",
    "1.13-alpine-perl",
    "1.13-alpine",
    "1.13-perl",
    "1.13.0-alpine-perl",
    "1.13.0-alpine",
    "1.13.0-perl",
    "1.13.0",
    "1.13.1-alpine-perl",
    "1.13.1-alpine",
    "1.13.1-perl",
    "1.13.1",
    "1.13.10-alpine-perl",
    "1.13.10-alpine",
    "1.13.10-perl",
    "1.13.10",
    "1.13.11-alpine-perl",
    "1.13.11-alpine",
    "1.13.11-perl",
    "1.13.11",
    "1.13.12-alpine-perl",
    "1.13.12-alpine",
    "1.13.12-perl",
    "1.13.12",
    "1.13.2-alpine-perl",
    "1.13.2-alpine",
    "1.13.2-perl",
    "1.13.2",
    "1.13.3-alpine-perl",
    "1.13.3-alpine",
    "1.13.3-perl",
    "1.13.3",
    "1.13.5-alpine-perl",
    "1.13.5-alpine",
    "1.13.5-perl",
    "1.13.5",
    "1.13.6-alpine-perl",
    "1.13.6-alpine",
    "1.13.6-perl",
    "1.13.6",
    "1.13.7-alpine-perl",
    "1.13.7-alpine",
    "1.13.7-perl",
    "1.13.7",
    "1.13.8-alpine-perl",
    "1.13.8-alpine",
    "1.13.8-perl",
    "1.13.8",
    "1.13.9-alpine-perl",
    "1.13.9-alpine",
    "1.13.9-perl",
    "1.13.9",
    "1.13",
    "1.14-alpine-perl",
    "1.14-alpine",
    "1.14-perl",
    "1.14.0-alpine-perl",
    "1.14.0-alpine",
    "1.14.0-perl",
    "1.14.0",
    "1.14.1-alpine-perl",
    "1.14.1-alpine",
    "1.14.1-perl",
    "1.14.1",
    "1.14.2-alpine-perl",
    "1.14.2-alpine",
    "1.14.2-perl",
    "1.14.2",
    "1.14",
    "1.15-alpine-perl",
    "1.15-alpine",
    "1.15-perl",
    "1.15.0-alpine-perl",
    "1.15.0-alpine",
    "1.15.0-perl",
    "1.15.0",
    "1.15.1-alpine-perl",
    "1.15.1-alpine",
    "1.15.1-perl",
    "1.15.1",
    "1.15.2-alpine-perl",
    "1.15.2-alpine",
    "1.15.2-perl",
    "1.15.2",
    "1.15.3-alpine-perl",
    "1.15.3-alpine",
    "1.15.3-perl",
    "1.15.3",
    "1.15.4-alpine-perl",
    "1.15.4-alpine",
    "1.15.4-perl",
    "1.15.4",
    "1.15.5-alpine-perl",
    "1.15.5-alpine",
    "1.15.5-perl",
    "1.15.5",
    "1.15.6-alpine-perl",
    "1.15.6-alpine",
    "1.15.6-perl",
    "1.15.6",
    "1.15.7-alpine-perl",
    "1.15.7-alpine",
    "1.15.7-perl",
    "1.15.7",
    "1.15.8-alpine-perl",
    "1.15.8-alpine",
    "1.15.8-perl",
    "1.15.8",
    "1.15",
    "1.7.1",
    "1.7.10",
    "1.7.11",
    "1.7.12",
    "1.7.5",
    "1.7.6",
    "1.7.7",
    "1.7.8",
    "1.7.9",
    "1.7",
    "1.8-alpine",
    "1.8.1-alpine",
    "1.8.1",
    "1.8",
    "1.9-alpine",
    "1.9.0",
    "1.9.1",
    "1.9.10",
    "1.9.11",
    "1.9.12",
    "1.9.14-alpine",
    "1.9.14",
    "1.9.15-alpine",
    "1.9.15",
    "1.9.2",
    "1.9.3",
    "1.9.4",
    "1.9.5",
    "1.9.6",
    "1.9.7",
    "1.9.8",
    "1.9.9",
    "1.9",
    "1",
    "alpine-perl",
    "alpine",
    "latest",
    "mainline-alpine-perl",
    "mainline-alpine",
    "mainline-perl",
    "mainline",
    "perl",
    "stable-alpine-perl",
    "stable-alpine",
    "stable-perl",
    "stable"
  ]
}

Thank you @gforghetti, I was taking that from Docker’s Hub but probably wrong.

Login success

docker login
Authenticating with existing credentials...
Login Succeeded

Logging in with your password grants your terminal complete access to your account.

However when I do docker build -t x:latest .
I get the following

ERROR: failed to solve: DeadlineExceeded: DeadlineExceeded: DeadlineExceeded: nginx:stable-alpine: failed to authorize: DeadlineExceeded: failed to fetch oauth token: Post "https://auth.docker.io/token": dial tcp 34.205.13.154:443: i/o timeout