Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker command-line to docker-compose.yml formatter #1418

Closed
behm opened this issue Oct 15, 2024 · 1 comment
Closed

Docker command-line to docker-compose.yml formatter #1418

behm opened this issue Oct 15, 2024 · 1 comment
Labels
extension idea An idea of tool / extension

Comments

@behm
Copy link

behm commented Oct 15, 2024

What feature or new tool do you think should be added to DevToys?

Often times I will get a docker run command-line for a container image that I would like to try. Most of the time I prefer to use the docker compose command-line along with an assocaited docker-compose.yml file. It would be great if there was a DevToy that could take a docker run command and convert it to a docker-compose.yml format. If it makes sense, maybe a way to convert it back to command-line but in the event where several services are configured, this might result in several docker run commands

Why do you think this is needed?

This would keep me from needing do a web search for how someone else implemented it using docker compose. It keeps me in DevToys for something that should be a simple format change instead of going to an online tool and needing to submit information to a site.

Solution/Idea

I see this as a textbox where you can paste in a docker run command and the generator displays what that command would like look like in a docker-compose.yml file. A copy button would allow the user to copy and paste the YAML to where they would like to save the file.

Comments

Thank you for your consideration of this feature. DevToys is a great set of tools.

@behm behm added feature Feature / Tool request or idea untriaged labels Oct 15, 2024
@veler veler added extension idea An idea of tool / extension and removed feature Feature / Tool request or idea untriaged labels Oct 21, 2024
@veler
Copy link
Collaborator

veler commented Oct 21, 2024

Hi,
Thanks for this suggestion. This could be a good idea of third-party tool. This can be achieved with our SDK. Unless there's a strong demand (through upvote) for this tool to be shipped by default with DevToys, I will close this ticket and let anyone who wants making and publish the tool through an extension.
Thanks!

@veler veler closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension idea An idea of tool / extension
Projects
None yet
Development

No branches or pull requests

2 participants