Skip to content
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: ~

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: ~

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: []