You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Docker CLI is as close to a standard as exist in interoperating with container engines. This is why engines like Podman mirror the command line interface. The reference implementation of the dev container spec (#9) and things built up from it should generally support anything that mimics the Docker CLI since it intentionally does not directly talk to the engine's daemon as an abstraction. However, there have been subtle differences that have come up particularly around the areas of file mounting and permissions. Similar to #10, there's also been interest from communities using engines and CLIs like Singularity, nerdctl, crictl, and even straight kubectl.
Today, the runArgs property is used heavily, and needs some abstraction for common properties (see #2). Any orchestrator support (see #10) would help in the case of more complex multi-container configurations. However, these do not resolve the simpler single container case where no orchestrator format is in-play.
To make it clear for how container engine communities could contribute support to the reference implementation or adopt the dev container spec in another form, I'd propose we:
Direct support for non-Docker container runtimes would be awesome! We currently use a workaround for Singularity and Shifter - it works quite well, but it's fiddly and but it's not trivial for less experienced users to set up.
I'm currently using Podman, but I'd like to have the devcontainers configuration to work also for people who use Docker. Podman requires settings some specific runtime arguments as specified in here, however those settings won't work with Docker. This suggestion:
Move runArgs to be an engine under a property much like orchestrators in #10 or customizations in #1 (e.g. "docker" {"runArgs":""} or "docker.runArgs": ""), with details on how to add other engine specific properties.
should allows settings podman-specific properties if needed, however I believed this is not implemented yet as I cannot find it in the specification. Would love to have this feature supported.
The Docker CLI is as close to a standard as exist in interoperating with container engines. This is why engines like Podman mirror the command line interface. The reference implementation of the dev container spec (#9) and things built up from it should generally support anything that mimics the Docker CLI since it intentionally does not directly talk to the engine's daemon as an abstraction. However, there have been subtle differences that have come up particularly around the areas of file mounting and permissions. Similar to #10, there's also been interest from communities using engines and CLIs like Singularity, nerdctl, crictl, and even straight kubectl.
Today, the
runArgs
property is used heavily, and needs some abstraction for common properties (see #2). Any orchestrator support (see #10) would help in the case of more complex multi-container configurations. However, these do not resolve the simpler single container case where no orchestrator format is in-play.To make it clear for how container engine communities could contribute support to the reference implementation or adopt the dev container spec in another form, I'd propose we:
runArgs
to be an engine under a property much likeorchestrators
in Orchestrator interop #10 orcustomizations
in Move settings and extensions properties to vscode namespace #1 (e.g."docker" {"runArgs":""}
or"docker.runArgs": ""
), with details on how to add other engine specific properties.The text was updated successfully, but these errors were encountered: