Live data from Hacker News

Show HN: dockerc – Docker image to static executable "compiler"

github.com

101–110 of 150 posts

Re: Show HN: dockerc – Docker image to static executable "compiler"

#101
post #95
post #77

This is really great. I have been trying to get my docker to be more distributable. Right now it's just a simple python script in a python env inside a docker container inside a QEMU container to automate a click and then netcat something. Pretty sweet. It's only like 20GB, so pretty lightweight by modern standards.

/s this please, people might get some ideas otherwise...

[deleted]

Re: Show HN: dockerc – Docker image to static executable "compiler"

#102

There is some great cosmic irony here. A section about never needing to build, install, etc… just give me an executable. Followed immediately with an incantation for zig to build this project

That's for the developers to build the binary, not the end users. But yeah.

Re: Show HN: dockerc – Docker image to static executable "compiler"

#104
post #103

I absolutely love how we are going full circle to portable executable binaries but with embedded OS. Taking the whole "it works on my machine" to a whole new level of troubleshooting hell. Awesome project though.

Every decent application should be a portable executable binary!

Re: Show HN: dockerc – Docker image to static executable "compiler"

#105
This can be useful for certain people, but I am surprised the documentation (there is just the Readme) doesn't mention what happens when you already have a docker daemon- esp. what happens to all the networking/firewall tricks docker is using. I see potential for quite a number of operational issues.

Nice to see Zig in action, btw. What about using Zon for deps, instead of a git submodule? Just curious if the author tried it, I honestly didn't have time to use Zon deps yet

Re: Show HN: dockerc – Docker image to static executable "compiler"

#106
post #58
post #39

This is incredibly cool! Currently using docker as a way to easily distribute and run an open project[1], this would be great to use on top of docker Will this run ok on a Mac? (I see the feature is pending, any tests done yet?) [1] https://github.com/nicobrenner/commandjobs

Thanks! > Will this run ok on a Mac? I've managed to make it work but unfortunately not in a way that produces portable binaries. I just need to figure out how to selectively statically link some of the QEMU dependencies or write a runtime that uses Apple's VirtualizationFramework.

Could you use something more lightweight than qemu (e.g. firecracker)?

Re: Show HN: dockerc – Docker image to static executable "compiler"

#107
post #103

I absolutely love how we are going full circle to portable executable binaries but with embedded OS. Taking the whole "it works on my machine" to a whole new level of troubleshooting hell. Awesome project though.

I wonder, how does this approach differ from a unikernel?

Re: Show HN: dockerc – Docker image to static executable "compiler"

#109
post #77

This is really great. I have been trying to get my docker to be more distributable. Right now it's just a simple python script in a python env inside a docker container inside a QEMU container to automate a click and then netcat something. Pretty sweet. It's only like 20GB, so pretty lightweight by modern standards.

You jest, but python is the poster child for, works on my machine.

Re: Show HN: dockerc – Docker image to static executable "compiler"

#110
post #100

Earlier quoted context omitted.

Unfortunately to access Lynda, you have to make a LinkedIn account

Who is Lynda?

She is a really good teacher of Actionscript 3.0. at least last time I checked.
Post reply on HN