Skip to content
This repository was archived by the owner on Oct 18, 2022. It is now read-only.
This repository was archived by the owner on Oct 18, 2022. It is now read-only.

ubuntu:latest throws an error "failed to solve with frontend dockerfile.v0" #243

Closed
@jignesh1995

Description

@jignesh1995

The Problem: While using the latest ubuntu as the base image, docker build fails with the error: "failed to solve with frontend dockerfile.v0"

Docker version: 20.10.7

Dockerfile code

FROM ubuntu:latest
...

While trying to build the docker file the runner throws an error:

failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = failed to build LLB: executor failed running [/bin/sh -c apt-get update -y && apt-get install unzip -y && apt-get install wget -y && apt-get install -y git]: runc did not terminate sucessfully

Quick fix: Using ubuntu:18.04 as the base image

Creating this issue to find a permanent fix for this issue, so that ubuntu:latest can be used again in the Docker file instead of a static version.

Could someone please help with the same?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions