crictl image prune 1

crictl image prune

crictl rmi --prune

Here is what the above code is Doing:
1. Create a new container with the image “alpine:latest”
2. Run the command “echo hello world” in the container
3. Print the output of the command
4. Remove the container

Similar Posts