Giter VIP home page Giter VIP logo

Comments (5)

shiipou avatar shiipou commented on September 15, 2024

Oh cool to see that issue, that can totally upgrade my experience to use it.

I hope my usecase can help :

I have created a kubernetes template in coder v2 that use envbuilder and provide a DinD (Docker in Docker) sidecar.
That allow me to create my container using the .devcontainer specifications and I can start a database aside to use it in the workspace project.

Using the dockerComposeFile can allow to use the DinD sidecar to start the workspace.

Maybe that can be something like this for the implementation.

from envbuilder.

johnstcn avatar johnstcn commented on September 15, 2024

A compose-file is not just a single container, but contains many of the following:

  • services
  • networks
  • volumes
  • configs
  • secrets

Envbuilder currently relies on GoogleContainerTools/kaniko to build images, and kaniko has no plans to support compose.

In order to support compose, we would, at a minimum, need to either:

a) Switch to a different backend that supports the compose spec, or
b) Implement the compose spec ourselves and build any required images on demand

The tricky thing here is that kaniko in its current incarnation only supports building one image at a time, so we would need to separate the 'build' process from the 'run' process.

from envbuilder.

bpmct avatar bpmct commented on September 15, 2024

Yeah, let's consider this out of scope for the v1.0 release and pick it back up depending on feedback

from envbuilder.

mafredri avatar mafredri commented on September 15, 2024

Should we close this @bpmct if the investigation is complete?

from envbuilder.

bpmct avatar bpmct commented on September 15, 2024

Sure :)

from envbuilder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.