Skip to content

jurruh/docker-http-container-upgrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿณ Docker HTTP container upgrade

Pull a new docker image and restart a running container with just a simple HTTP call.

๐Ÿš€ Usage

At first we need to start the web server this can be done with a docker container:

docker run -v /var/run/docker.sock:/var/run/docker.sock -p 3000:3000 jurruh/http-container-upgrade

If the web server is started we can perform a GET request with the container name:

curl localhost:3000/:containername

๐Ÿ“ Notes

Currently this is a hobby project. The code does not have any tests and the HTTP requests do not require any form of authorization. I do not recommend to use this project in a production system. But feel free to build on top of this repo or use it as inspiration.

About

Pull a new docker image and restart a running container with just a simple HTTP call.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published