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: Image Layer Details - hexpm/elixir:1.14.5-erlang-25.0-debian-bullseye-20210902-slim
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
** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 2733ms. You can configure how long re...
New
The Elixir Typespec docs show the following syntax for keyword lists in typespecs:
# ...
| [key: type] # keyword lists...
New
Hello, how can I check the Phoenix version ?
Thanks !
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
Hello, I get Persian date from my client and convert it to normal calendar like this:
def jalali_string_to_miladi_english_number(persi...
New
Hi,
I’m quite new in Elixir and I’m trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and I...
New
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this:
...
New
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this
"1000"
What is the ...
New
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Other popular topics
Hello!
tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability.
After spen...
New
Hello all!
I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help.
Where are they similar?
Where do they differ the m...
New
Hello, I have map which I want to convert it to string like this:
the map:
%{last_name: "tavakkoli", name: "shahryar"}
the string I ne...
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 am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
I am trying to run a deploy with docker and I successfully runned with this command:
docker build -t romenigld/blog-prod .
but when I t...
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 wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something…
Haskell reminds me of Java, and e...
New
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance











