#!/bin/bash
docker ps -a | awk '{print $1}' | xargs --no-run-if-empty docker rm
docker images | awk '{print $3}' | xargs --no-run-if-empty docker rmi

#restart ci
cd /home/build/ci
fig stop
fig build
# fig exec ? rm *.uuid
fig up -d


#!/bin/bash
docker ps -a | awk '{print $1}' | xargs --no-run-if-empty docker rm
docker images | awk '{print $3}' | xargs --no-run-if-empty docker rmi

#restart ci
cd /home/build/ci
fig stop
rm -rf /home/build/.ci/* # get rid of *.uuid files
fig build
fig up -d


Remove .uuid files by clearing /home/build/.ci
Remove .uuid files by clearing /home/build/.ci
