Forcibly removes a Docker container. If it is running it will be forcibly terminated and removed. If it doesn't exist you won't get an error message. This is a blunt instrument!

sp_docker_remove_container(docker_container)

Arguments

docker_container

character: the name of the container to remove

Value

a numeric 0

Details

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

Examples

if (FALSE) sp_docker_remove_container("sql-pet")