Live data from Hacker News

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

github.com

81–90 of 150 posts

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

#86
post #68
post #11

Same thing as Apptainer/Singularity? Or a different approach? I always remember having issues using the Singularity outputs for anything that needed to interact with the filesystem.

I hadn't heard of Apptainer/Singularity before but it doesn't seem to provide the ability to create standalone executables.

Singularity absolutely produces standalone executables, been building tools this way for years.

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

#87
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.

For Windows, I recommend looking into running in WSL2 instead of trying to get QEMU working in a performant way. It's pretty easy to install a custom lightweight WSL2 image and run it.

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

#88

Awesome use of that rant pic. Next rant pic- When I RUN a F*ING EXE it should open a Window with the application in it you smelly nerds!!!!

This isn't an EXE, though.

The next step is to repackage this inside an EXE that runs a Linux virtual machine.

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

#89
post #86
post #68

Earlier quoted context omitted.

I hadn't heard of Apptainer/Singularity before but it doesn't seem to provide the ability to create standalone executables.

Singularity absolutely produces standalone executables, been building tools this way for years.

How? I've used Apptainer pretty extensively for a couple years and as far as I know the machine where it runs has to have Apptainer installed, even when executing sif files like a normal app.

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

#90

Awesome use of that rant pic. Next rant pic- When I RUN a F*ING EXE it should open a Window with the application in it you smelly nerds!!!!

This isn't an EXE, though. The next step is to repackage this inside an EXE that runs a Linux virtual machine.

Weeell... There's a feature list with the following pending entry:

> MacOS and Windows support (using QEMU)

Post reply on HN