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

Add workflow: Rename docker container #168

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions specs/docker/rename_docker_container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Rename a Docker container
command: "docker container rename {{old_container}} {{new_container}}"
tags:
- docker
description: Renames a Docker container.
arguments:
- name: old_container
description: The name of the old container
default_value: ~
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should remove the default value parameter, since the actual container names will be specific to each user.

- name: new_container
description: The name of the new container
default_value: ~
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here!

I think we should remove the default value parameter, since the actual container names will be specific to each user.

source_url: "https://docs.docker.com/engine/reference/commandline/container_rename/"
author: 14sprouj
author_url: "https://github.com/14sprouj"
shells: []
Loading