#docker (2024-04)

docker

All things docker

Archive: https://archive.sweetops.com/docker/

2024-04-07

Alex Kwan avatar
Alex Kwan

When I run docker-compose up locally using WSL2 (ubuntu) I get the error below. Does the error suggest an issue with my VPN? I get this same error with docker desktop as well as rancher desktop. I’ve tried restarting and doing docker login a few times. The interesting thing is that everything works fine if I specify a base image from quay.io but when i specify a base image from public.ecr.aws or docker, i get this error.

failed to solve: ubuntu/ubuntu:22.04: failed to authorize: failed to fetch oauth token: Post "<https://auth.docker.io/token>": dial tcp: lookup auth.docker.io on 8.8.8.8:53: read udp 172.28.207.184:54621->8.8.8.8:53: i/o timeout
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Something seems to be up with the networking, perhaps blocking UDP

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

It’s failing to reach google’s nameservers

1
Alex Kwan avatar
Alex Kwan

i think i got past this issue (in my scenario) with

export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0
2

2024-04-09

2024-04-10

    keyboard_arrow_up