sidomo
Dev tools
container wrapper library
SHOW HN2016
How HN took it
9 positive, 9 neutral or asking, 0 mixed, 3 critical, out of 21 comments about the project. Thread score +0.10.
Idea: 6 for, 3 againstExecution: 2 for, 0 againstDesign: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful for testing and portable fiddly dependencies like ffmpeg
From 3 comments
I can see it being useful for building up a testing environment/framework
rco8786 on HNAbsolutely, we use it especially because our servers are linux and our personal machines are mac. Most of our app is not containerized but sidomo helps us make the 'fiddly bits'…
noajshu on HNHmm, this could be a good way to use postgresql during unit tests for python applications, as a cheap alternative to sqlite://:memory: and ramdisks. Cleanup is just container…
kanzure on HN
Solves installing old bioinformatics tools
From 1 comment
I've been looking for something like this. My use case is that I have a bunch of really old bioinformatics programs that are a pain to install and I want to run them from a web…
sciencerobot on HN
Objections
Unclear advantage over running the whole thing in a container or using docker-py
From 2 comments
I'm struggling to see the advantage of this? Surely either running the entire thing in the container and just running the command using subprocess would achieve the same effect....
richardwhiuk on HNOr, if you have docked installed on a system anyway why not just use docker-py (docker's python bindings) directly to run stuff in containers?
takee on HN
Container runs need root or privileged access to docker
From 1 comment
Does this require your Python app to run on a user in the docker group, thus giving your app Sudo privilege?
wdawson4 on HN
Cannot pass container options such as network or DNS settings
From 1 comment
By looking at the code I can't seem to find a way of running the containers with options such as --net, --dns etc. Am I missing something or it's just not part of the plan?
ciokan on HN
Requests
Add pass-through options for Docker container settings
From 1 comment
Doesn't look like it. It looks like it's just a thin wrapper the `docker` module, which is a wrapper around the Docker API.…
vkjv on HN
Questions
How does it handle stdout and stderr output?
From 2 comments
So if I understand correctly it basically launches the container and pipes the log output to a generator for consumption through Python?
ThePhysicist on HNYes. Not necessarily log output, but stderr and/or stdout.
noajshu on HN
Does it need the user in the docker group?
From 1 comment
Does this require your Python app to run on a user in the docker group, thus giving your app Sudo privilege?
wdawson4 on HN
Alternatives named
docker-py
From 2 comments
Or, if you have docked installed on a system anyway why not just use docker-py (docker's python bindings) directly to run stuff in containers?
takee on HNyou can! I found it difficult to work with and decided to make something new after reading this post: http://blog.bordage.pro/avoid-docker-py/ It's a few years old but I think…
noajshu on HN
CommonWL
From 1 comment
Going one step further, using http://CommonWL.org you can wrap Dockerized command line tools into callable Python functions, and abstracting all the details of stdin/stdout…
tetron on HN
subprocess
From 1 comment
I'm struggling to see the advantage of this? Surely either running the entire thing in the container and just running the command using subprocess would achieve the same effect....
richardwhiuk on HN