roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Open source the `docker init` feature

Open roshbhatia opened this issue 1 year ago • 3 comments

Tell us about your request We're currently interested in using docker init in some devex tooling, and would like to import it as a library rather than manage wrapping the docker binary included with Docker desktop.

As noted in https://github.com/docker/cli/issues/4184#issuecomment-1536016717, the repository is still private and it was recommended to open a suggestion here, which this issue is as there was no suggestion opened previously that I saw.

Which service(s) is this request for? The docker init subcommand which recently went GA.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? N/A

Are you currently working around the issue? N/A

Additional context N/A

roshbhatia avatar Feb 14 '24 05:02 roshbhatia

Hello @roshbhatia thanks for reaching out. We are currently working on several improvements to init that could potentially help with your request, but they are not likely to be ready soon. May I ask you to add more details to your use-case?

nunocoracao avatar Feb 14 '24 15:02 nunocoracao

I would like to perma-link to the template in documentation

# this file is based on `docker init`: https://github.com/docker/docker-init/<hash>/path/to/template
...

0xaatif avatar Jul 02 '24 11:07 0xaatif

I'm curious about the docker init source because I'm considering writing my first docker cli-plugin, and resources for developing cli-plugins are a little scant and complicated by keyword collision using search engines.

Additionally, my plugin concept similarly generates project files from user prompts, and so the init source would be the perfect example to follow.

I understand there are a lot of considerations before you "big-O" Open-Source a project. Is there any chance of a "little-o" open source and just make the code available?

caracolmzd avatar Aug 27 '24 03:08 caracolmzd