1 2 3 4 5 6 7 8 9
#!/bin/bash# Stop containers and removes containers, networks, volumes, and images docker-compose -f docker-compose-jfrog.yml down# Wait a bit sleep 5s# Check that containers were removed succesfullydocker ps -a