https://github.com/wrfly/piu
pull images up to date
https://github.com/wrfly/piu
cd cicd continuous-deployment docker
Last synced: 5 months ago
JSON representation
pull images up to date
- Host: GitHub
- URL: https://github.com/wrfly/piu
- Owner: wrfly
- License: mit
- Created: 2019-06-16T16:41:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-04T21:12:11.000Z (about 3 years ago)
- Last Synced: 2024-06-21T16:53:45.269Z (almost 2 years ago)
- Topics: cd, cicd, continuous-deployment, docker
- Language: Go
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
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