Forcibly removes a Docker image. If it doesn't exist you won't get an error message. This is a blunt instrument!

sp_docker_remove_image(docker_image)

Arguments

docker_image

character: the name of the image to remove

Value

a numeric 0

Details

Warning: this function removes the image you asked it to remove!

Examples

if (FALSE) sp_docker_remove_image("docker.io/postgres:10")