top | item 43912377

(no title)

Epskampie | 9 months ago

> Requirements on the executing device: Docker is required.

discuss

order

arjvik|9 months ago

Good friend built dockerc[1] which doesn't have this limitation!

[1]: https://github.com/NilsIrl/dockerc

hnuser123456|9 months ago

That screenshot in the readme is hilarious. Nice project.

ecnahc515|9 months ago

Instead it requires QEMU!

remram|9 months ago

I can't tell what this does from the readme. Does it package a container runtime in the exe? Or a virtual machine? Something else?

vinceguidry|9 months ago

Looks like MacOS and Windows support is still being worked on.

ugh123|9 months ago

lol guy makes a fair point. Open source software suffers from this expectation that anyone interested in the project must be technical enough to be able to clone, compile, and fix the inevitable issues just to get something running and usable.

dheera|9 months ago

But will this run inside another docker container?

I normally hate things shipped as containers because I often want to use it inside a docker container and docker-in-docker just seems like a messy waste of resources.

harha_|9 months ago

Yeah, it feels like nothing but a little trick. Why would anyone want to actually use this? The exe simply calls docker, it can embed an image into the exe but even then it first calls docker to load the embedded image.

jve|9 months ago

I see a use case. The other day I wished that I could pack CLI commands as docker containers and execute them as CLI commands and get return codes.

I haven't tried this stuff, but maybe this is something in that direction.

johncs|9 months ago

Basically the same as Python’s zipapps which have some niche use cases.

Before zipapp came out I built superzippy to do it. Needed to distribute some python tooling to users in a university where everyone was running Linux in lab computers. Worked perfectly for it.

j45|9 months ago

Could be ease of use for end users who don't docker.

alumic|9 months ago

I was so blown away by the title and equally disappointed to discover this line.

Pack it in, guys. No magic today.

stingraycharles|9 months ago

Thank god there’s still this project that can build single executables that work on multiple OS’es, I’m still amazed by that level of magic.

Hamuko|9 months ago

I feel like it's much easier to send a docker run snippet than an executable binary to my Docker-using friends. I usually try to include an example `docker run` and/or Docker Compose snippet in my projects too.

drawfloat|9 months ago

Is there any alternative way of achieving a similar goal (shipping a container to non technical customers that they can run as if it were an application)?

regularfry|9 months ago

It feels like there ought to be a way to wrap a UML kernel build with a container image. Never seen it done, but I can't think of an obvious reason why it wouldn't work.

mrbluecoat|9 months ago

See the dockerc comment above