mirror of
https://github.com/acedanger/shell.git
synced 2026-03-24 20:11:49 -07:00
feat: Implement Docker Manager CLI for managing Docker containers
This commit is contained in:
9
.github/prompts/docker-manager-python.prompt.md
vendored
Normal file
9
.github/prompts/docker-manager-python.prompt.md
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
Create a Python command-line application in the `~/shell/docker-manager/` directory to manage Docker containers defined in subdirectories of `~/docker/`. Each subdirectory contains either a `docker-compose.yml` or `compose.yml` file. The application must:
|
||||
|
||||
- List the names of currently running containers defined in `~/docker/`.
|
||||
- Provide commands to stop, update (pull latest images), and restart these containers.
|
||||
- Be executable from any directory via the command line, without requiring navigation to the script's location.
|
||||
- Output results and status messages to the console.
|
||||
- Include setup instructions for installation and usage.
|
||||
|
||||
Provide complete Python code and a `README.md` with setup and usage instructions. Use only files within `~/shell/docker-manager/` to avoid cluttering other directories. Reference the [Docker Compose CLI documentation](https://docs.docker.com/compose/reference/) for command usage.
|
||||
Reference in New Issue
Block a user