What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello All, I have an error while `docker/sdk up` is being done right after `docker/sdk boot deploy.d

U015HHFCU1M
U015HHFCU1M Posts: 81 🧑🏻‍🚀 - Cadet

Hello All,
I have an error while docker/sdk up is being done right after docker/sdk boot deploy.dev.yml

 => ERROR [application-debug 3/7] RUN --mount=type=cache,id=apk,sharing=locked,target=/var/cache/apk mkdir -p /etc/apk && ln -vsf /var/cache/apk /et  10.9s
------


  [application-debug 3/7] RUN --mount=type=cache,id=apk,sharing=locked,target=/var/cache/apk mkdir -p /etc/apk && ln -vsf /var/cache/apk /etc/apk/cache &&   bash -c 'if [ ! -z "$(which apk)" ]; then apk update && apk add      supervisor      ; fi':


#8 0.595 '/etc/apk/cache' -> '/var/cache/apk'
#8 0.724 fetch <http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz>
#8 5.730 ERROR: <http://dl-cdn.alpinelinux.org/alpine/v3.10/main>: temporary error (try again later)
#8 5.788 fetch <http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz>
#8 10.79 ERROR: <http://dl-cdn.alpinelinux.org/alpine/v3.10/community>: temporary error (try again later)
#8 10.86 v3.10.6-5-g78de4beeda [<http://dl-cdn.alpinelinux.org/alpine/v3.10/main>]
#8 10.86 v3.10.5-207-g521fb0cd4c [<http://dl-cdn.alpinelinux.org/alpine/v3.10/community>]
#8 10.86 2 errors; 10360 distinct packages available
------
executor failed running [/bin/sh -c mkdir -p /etc/apk && ln -vsf /var/cache/apk /etc/apk/cache &&   bash -c 'if [ ! -z "$(which apk)" ]; then apk update && apk add      supervisor      ; fi']: exit code: 2

Is this a known issue?

Comments

  • Eugene Chernyi
    Eugene Chernyi Sprykee Posts: 3 🧑🏻‍🚀 - Cadet

    Hello Piotr,
    It looks like a connection issue(apk couldn’t fetch archive from the repository).
    It can be a temporary connection issue or maybe some network restrictions.
    I would suggest you run the build again, and if you face the issue again, you can try to download the archive from the pc/laptop where you try to build the project

  • U015HHFCU1M
    U015HHFCU1M Posts: 81 🧑🏻‍🚀 - Cadet

    Hi Eugene,
    It seems you're right. I cleaned the project, re-exposed docker deamon, restarted and started over.
    It's progressing.