Skip to content

Commit ca9aafa

Browse files
Add start, stop for docker
Also adjusts descriptions for each.
1 parent 3933de8 commit ca9aafa

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

src/utils/commands.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,23 @@
4141
"Kill Container": {
4242
"command": "docker kill",
4343
"option": "$CONTAINER",
44-
"description": "Kill one or more containers."
44+
"description": "Kill one or more running containers (SIGKILL)"
45+
},
46+
"Stop Container" : {
47+
"command": "docker stop",
48+
"option": "$CONTAINER",
49+
"description": "Stop one or more running containers (SIGTERM)"
50+
51+
},
52+
"Start Container": {
53+
"command": "docker start",
54+
"option": "$CONTAINER",
55+
"description": "Start a container."
4556
},
4657
"Restart Container": {
4758
"command": "docker restart",
4859
"option": "$CONTAINER",
49-
"description": "Restart one or more containers."
60+
"description": "Stop and start a container in one command."
5061
},
5162
"Run Interactive Shell": {
5263
"command": "docker exec -it",

0 commit comments

Comments
 (0)