sensiblecodeio / hanoverd Goto Github PK
View Code? Open in Web Editor NEWDocker handover daemon - the `docker replace` you always wanted
License: BSD 3-Clause "New" or "Revised" License
Docker handover daemon - the `docker replace` you always wanted
License: BSD 3-Clause "New" or "Revised" License
I discovered this when it turned out I couldn't curl any remote machine because it was being redirected to the container.
i.e. vMAJOR.MINOR.PATCH
We currently just use vMAJOR.MINOR
.
This is necessary for Go module tooling to correctly detect module versions.
Currently we make HTTP requests in a tight loop to discover when a container is ready. It is necessary to look at the failure reason, otherwise it might be an expensive 500 error which you don't want to spam at line-rate.
On bringing up dinger:
systemd[1]: Started Dinger.
systemd[1]: Starting Dinger...
hanoverd[747]: 2015/07/30 15:15:34 Hookbot monitoring dinger@master via hookbot.scraperwiki.com
systemd[1]: dinger.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: dinger.service: Unit entered failed state.
systemd[1]: dinger.service: Failed with result 'exit-code'.
If there is a non-hyphen parameter after -v should probably treat as volume. Or deprecate -v as version?
Right now the await listening fails.
If hanoverd is killed and whatever reason doesn't get a chance to clean up an image, then when it comes to deploy a container with the same name as existed previously, it fails to start.
We should detect and respond to that case somehow.
If test_1
exists from a previous run, I have seen a deadlock. So we need to make this more robust.
Currently the image is named after the container. It so happens that docker is always happy to overwrite an existing image -- at least, I've never seen it fail.
So we should probably also go and remove unused images at the end of the day.
HOOKBOT_URL
is the wrong way of describing it.
We should support both temporarily, but deprecate HOOKBOT_URL
.
If something goes wrong which leaves a new container spinning CPU and not Accept()'ing any connections, then it will keep happening until the next version comes along.
We should have a timeout before giving up on it and killing it.
e.g. MOT-app
Should probably coerce names into lowercase?
Avoid using root inside Docker unnecessarily.
@djui suggested this, so documenting it; a --debug
option to display exactly what commands are being run, so that they can be more easily investigated should they fail.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.