Feature suggestion: #6055
GuterPeter
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Curious if you're familiar with |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Docker Team,
Over the past few weeks, I’ve been using Docker extensively and have encountered a repetitive challenge: managing multiple containers. Specifically, starting or stopping several containers often involves manually finding container IDs and executing individual commands for each one — a process that can be quite tedious.
To simplify this workflow, I created two small bash scripts: docker-shutdown and docker-startup. These scripts list all running (or stopped) containers, let me select them by number (or choose all), and then start or stop them in a single command. This has significantly streamlined my container management experience.
I believe this kind of functionality would be a valuable addition to the Docker CLI. It would greatly enhance the user experience, especially for developers managing multiple containers in local development environments or complex setups.
Unfortunately, I don’t have experience with Go and therefore can’t contribute this feature directly. However, I’m reaching out in the hope that the Docker CLI team might consider integrating something similar natively.
I’ve attached text versions of both scripts for reference. I’d love to hear your thoughts — do you think this is something the Docker community would find useful?
Best regards,
guterpeter
docker-startup.txt
docker-shutdown.txt
Beta Was this translation helpful? Give feedback.
All reactions