moby / moby/buildkit

Can --mount support type=local ?

Open
#3,310 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Can --mount support type=local? It can be directly attached to the local path of the host, which is used to share the read and write mount data in container building.
It is like multiple Linux can share the read and write files through nfs.

Is there such a plan? Or how can such a function be realized?

3Q~

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 only --mount type=local, host paths, Linux, NFS, and container building; it does not identify files, tests, or an entry point. Start by locating the existing --mount handling and its tests, then define the supported local-path behavior and verify it in container builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, linux
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.