I'm involved as an independent collaborator again in Docker's internal extension efforts, and after I saw this I got ClusterHQ looped in to that working group. Then we talked about collaborating on a Go port of Powerstrip, so I'm working on that here:
https://github.com/ClusterHQ/powerstrip/tree/golang
Do you know if Powerstrip could be used to extend the entire family of Docker tools: machine, compose (fig), swarm?
I think it would be interesting, for example, to explore development of an extension that "guided" those tools regarding where (virtually speaking) they should re/deploy machines and containers, based on metrics collected by a 3rd party service with which that extension communicated.
I apologize if my question is a bit naïve; at present, I've been spending a lot of time with the porcelain and haven't gotten into the internals enough to understand how all the Docker pieces truly fit together.
Capturing JSON messages on their way to the docker server is a far more civilised way to extend docker than trying to "wrap" the docker cli.
In my use case - using the cli - I was struggling to separate the docker arguments from the image name and container args. It's better for docker itself to do that and more generally - its better to use the vanilla docker client (because orchestration tools).
As soon as I was working with the JSON messages generated by the docker client - everything became much easier!
If you are looking to build an extension, make sure to checkout the post by @binocarlos [1], it's just the right level of detail for you know and a full-blow implementation indeed!
The Wordpress on this site is dead, why don't more people use static html generators these days? It doesn't get more web scale than static html via pelican or Jekyll or something :)
I'm quite happy to see this happening however and see that the batteries included, but removable mantra really is actually happening.
We're working on moving to a static site generator :)
That said one emergency mod_rewrite rule later and we fixed the issue - which was that the HN link went to the link without the trailing slash which was hitting the database! :'(
we at crate switched to https://github.com/koenbok/cactus and are really happy with it. we had a really bad experience with wordpress and are so glad we switched.
An interesting project would be to implement a policy extension, one that would check where container image has the right versions of certain packages and would refuse to start a container with outdate JRE, OpenSSL or anything more recent...
[+] [-] progrium|11 years ago|reply
We're also planning to combine the Docker event stream plugin system I prototyped previously into Powerstrip: https://github.com/progrium/docker-plugins
And ultimately, eventually, we'll have native extension support in Docker that allows much more extensibility, but all this is a good first step IMO.
[+] [-] michaelsbradley|11 years ago|reply
I think it would be interesting, for example, to explore development of an extension that "guided" those tools regarding where (virtually speaking) they should re/deploy machines and containers, based on metrics collected by a 3rd party service with which that extension communicated.
I apologize if my question is a bit naïve; at present, I've been spending a lot of time with the porcelain and haven't gotten into the internals enough to understand how all the Docker pieces truly fit together.
[+] [-] binocarlos|11 years ago|reply
Capturing JSON messages on their way to the docker server is a far more civilised way to extend docker than trying to "wrap" the docker cli.
In my use case - using the cli - I was struggling to separate the docker arguments from the image name and container args. It's better for docker itself to do that and more generally - its better to use the vanilla docker client (because orchestration tools).
As soon as I was working with the JSON messages generated by the docker client - everything became much easier!
[+] [-] errordeveloper|11 years ago|reply
[1]: http://weaveblog.com/2015/01/29/powerstrip-weave-a-docker-ne...
[+] [-] SEJeff|11 years ago|reply
I'm quite happy to see this happening however and see that the batteries included, but removable mantra really is actually happening.
[+] [-] jodok|11 years ago|reply
[+] [-] lewq|11 years ago|reply
That said one emergency mod_rewrite rule later and we fixed the issue - which was that the HN link went to the link without the trailing slash which was hitting the database! :'(
[+] [-] lewq|11 years ago|reply
[+] [-] dobe|11 years ago|reply
[+] [-] unknown|11 years ago|reply
[deleted]
[+] [-] errordeveloper|11 years ago|reply
[+] [-] lewq|11 years ago|reply
[+] [-] unknown|11 years ago|reply
[deleted]