moby / moby/buildkit

Feature: runtime support for docker build

Open
#2,485 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement
Dominant language
Go
Stars
10.3k
Forks
1.5k
Avg merge
1d 23h
Merged PRs (30d)
48

Description

Requested feature
Build images with a different runtime like sysbox-runc or nvidea-docker.

Usecase
Generally a great feature to have when working with docker-in-docker or nvidea GPU applications.
In my case I want to run docker in docker and need to run docker commands during the build process. These will fail as building images uses the default runtime, which isn't capable of running docker in docker.

Expected command
Add the --runtime argument from docker run to the build command like this
docker build --runtime=sysbox-runc .

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Begin by locating how the build command handles runtime selection and compare it with Docker’s requested --runtime option. Done means a build can select sysbox-runc or another runtime, including the docker-in-docker use case, with coverage for the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.