John Siu Blog

Tech - Business Tool, Personal Toys

Docker Script

☰ Table of Content

Scripts that make managing docker easier.

Compose Refresh

compose-refresh.sh:

1
docker-compose down;docker-compose up -d%

Update All Images

update-images.sh:

1
2
3
docker images|grep -v ^REPO|cut -d' ' -f1|xargs -L1 docker pull
compose-refresh.sh
docker image prune -f%

John Siu

Update: 2023-07-01
Tag
comments powered by Disqus