Skip to content

Commit

Permalink
Docker workflows to list and remove images (#162)
Browse files Browse the repository at this point in the history
* docker workflows to list and remove images

* updating workflow

* Update remove_docker_images_from_local.yaml

* Update list_docker_images_from_local.yaml

* updating workflows

* reverting workflows

* updating workflows

* fixing divergence

* updating current branch

---------

Co-authored-by: elvis kahoro <elvis@warp.dev>
  • Loading branch information
guel-codes and elvis kahoro authored Oct 2, 2023
1 parent 495b5cf commit 9552855
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions specs/docker/list_docker_images_from_local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: List docker images from local system
command: docker image ls
tags:
- docker
description: Lists all docker images currently stored on your system
source_url: "https://docs.docker.com/engine/reference/commandline/image_ls/"
author: guel-codes
author_url: "https://github.com/guel-codes"
shells: []
14 changes: 14 additions & 0 deletions specs/docker/remove_docker_images_from_local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Remove docker images from local system
command: docker rmi {{image_id}}
tags:
- docker
description: Remove docker images currently stored on your system
arguments:
- name: image_id
description: The container ID of the docker container.
default_value: ~
source_url: "https://docs.docker.com/engine/reference/commandline/rmi/"
author: guel-codes
author_url: "https://github.com/guel-codes"
shells: []

0 comments on commit 9552855

Please sign in to comment.