docker reset container to initial state code example
Example 1: docker image is not reseting
docker rm -f $(docker ps -a -q)
Example 2: docker image is not reseting
docker volume rm $(docker volume ls -q)
docker rm -f $(docker ps -a -q)
docker volume rm $(docker volume ls -q)