devfile / api

Kube-native API for cloud development workspaces specification
Apache License 2.0
257 stars 61 forks source link

Devfile support in Docker using a CLI plugin #621

Open resios opened 2 years ago

resios commented 2 years ago

Which area this feature is related to? /area devworkspace

Which functionality do you think we should add?

We propose to introduce a Docker CLI plugin that allows customers to iterate on Devfiles locally using their IDE, without needing a Kubernetes cluster.

Why is this needed? Is your feature request related to a problem? Currently the only way to for a customer to develop using a devfile is by using the devworkspace Kubernetes operator and this requires a Kubernetes cluster. We can simplify this process, by offering customers a simpler way by making use of Docker which is a popular tool already used by developers.

Detailed description:

Describe the solution you'd like

We would build a Docker CLI plugin that translates the Devfile components (starting with container and image) and uses Docker compose to run containers.

Note that this will work with any container runtime that exposes the Docker API, e.g. Podman. We propose to host this as a separate repo under the github.com/devfile oraganization, e.g. github.com/devfile/devfile-docker-plugin.

Describe alternatives you've considered

resios commented 2 years ago

@l0rd or @elsony This is the devrunner we previously spoke about.

resios commented 2 years ago

Thanks @elsony for creating the registry. I've added the code that we currently have there: https://github.com/devfile/devfile-docker-plugin

It also contains the detection logic so we can talk about extracting it where it makes sense.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days.