sergio
Docker deploy started failing today: failed to solve
Here’s the relevant part of my Dockerfile:
ARG ELIXIR_VERSION=1.14.5
ARG OTP_VERSION=25.0
ARG DEBIAN_VERSION=bullseye-20210902-slim
ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}"
ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}"
And here’s the image it’s pulling: https://registry.hub.docker.com/layers/hexpm/elixir/1.14.5-erlang-25.0-debian-bullseye-20210902-slim/images/sha256-36fd12427d71d7c949e283b7a52650d53afede95098e0c3f7c1a183014705870?context=explore
Here’s the error:
Sep 28 03:43:02 PM #6 [internal] load metadata for docker.io/library/debian:bullseye-20210902-slim
Sep 28 03:43:02 PM #6 ERROR: failed to authorize: failed to fetch oauth token: unexpected status: 503 Service Unavailable
Sep 28 03:43:02 PM ------
Sep 28 03:43:02 PM > [internal] load metadata for docker.io/library/debian:bullseye-20210902-slim:
Sep 28 03:43:02 PM ------
Sep 28 03:43:02 PM Dockerfile:79
Sep 28 03:43:02 PM --------------------
Sep 28 03:43:02 PM 77 | # start a new build stage so that the final image will only contain
Sep 28 03:43:02 PM 78 | # the compiled release and other runtime necessities
Sep 28 03:43:02 PM 79 | >>> FROM ${RUNNER_IMAGE}
Sep 28 03:43:02 PM 80 |
Sep 28 03:43:02 PM 81 | RUN apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 locales \
Sep 28 03:43:02 PM --------------------
Sep 28 03:43:02 PM error: failed to solve: debian:bullseye-20210902-slim: failed to authorize: failed to fetch oauth token: unexpected status: 503 Service Unavailable
Is this an issue with Docker services or a deprecation I need to fix myself in my codebase? Thanks!
Marked As Solved
sergio
On Render, it seemed like all I needed to do was “Clear build cache & deploy” to get it to function properly again.
Or maybe Docker fixed their URL issue?
2
Also Liked
pdgonzalez872
4
Popular in Questions
Hi! May someone helps me, please!
I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
What is the proper way to load a module from a file in to IEX?
In the python world, doing something like this pretty standard:
from ....
New
Credo is smart enough to check for (something like) this:
assert length(the_list) == 0
with this response:
Checking if an enum is empt...
New
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
Hey all,
I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
Other popular topics
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
What is the idiomatic way of matching for not nil in Elixir?
E.g.,
First way:
defp halt_if_not_signed_in(conn, signed_in_account) when...
New
Hi all,
Trying to get some more clarity over utc_datetime and naive_datetime for Ecto:
https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
Hi folks,
Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
New
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum.
...
New
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New










