docker kill $(docker ps -q)
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
sudo docker container inspect container_name_or_ID
Don’t know the container’s name or ID? Use the command
sudo docker ps