Commit fdc70cda by Brian Beggs Committed by Brian Beggs

Prune dangling images after provision

parent 6d594682
...@@ -480,8 +480,8 @@ Or, you can run the following commands to clean up dangling images and volumes: ...@@ -480,8 +480,8 @@ Or, you can run the following commands to clean up dangling images and volumes:
.. code:: sh .. code:: sh
docker rmi $(docker images -f "dangling=true" -q) docker image prune -f
docker volume rm $(docker volume ls -qf dangling=true) docker volume prune -f (Be careful, this will remove your persistent data!)
No such file or directory No such file or directory
~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
......
...@@ -46,4 +46,6 @@ docker-compose $DOCKER_COMPOSE_FILES up -d studio ...@@ -46,4 +46,6 @@ docker-compose $DOCKER_COMPOSE_FILES up -d studio
./provision-discovery.sh ./provision-discovery.sh
./provision-credentials.sh ./provision-credentials.sh
docker image prune -f
echo -e "${GREEN}Provisioning complete!${NC}" echo -e "${GREEN}Provisioning complete!${NC}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment