Skip to content
pull images up to date
Go Makefile Dockerfile Shell
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker fix: it works! Sep 23, 2019
pkg/docker
test aha: partial works Sep 22, 2019
.gitignore init the project Jun 16, 2019
Dockerfile chore: init with golang-template Sep 12, 2019
LICENSE chore: init with golang-template Sep 12, 2019
Makefile fix: it works! Sep 23, 2019
README.md fix: it works! Sep 23, 2019
VERSION fix: it works! Sep 23, 2019
config.yml chore: init with golang-template Sep 12, 2019
go.mod aha: partial works Sep 22, 2019
go.sum aha: partial works Sep 22, 2019
main.go fix: it works! Sep 23, 2019
run.go feat: only watch containers with label Oct 1, 2019
version.go fix: it works! Sep 23, 2019

README.md

PIU

Pull images up to date.

Do not bother to recreate your services, PIU can help you pull the latest images and update your containers.

Copy and Run

docker run --rm -ti \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v $HOME/.docker/config.json:/root/.docker/config.json \
    wrfly/piu:latest

How it works

  • Scan all the containers and find their images
  • Watch the changes of the images
  • When the digest changed
    • pull the latest image
    • recreate the container
    • keep everything except the image
You can’t perform that action at this time.