do not fails if thereis not containers
#!/usr/bin/env bash
-docker stop $(docker ps -a -q)
-docker rm -v $(docker ps -q -a)
+DOCKER_IDS=$(docker ps -a -q)
+
+if [ -n "${DOCKER_IDS}" ]; then
+ docker stop ${DOCKER_IDS}
+ docker rm -v ${DOCKER_IDS}
docker volume prune -f
+fi
exit 0
