I have a docker image that I would like to compile into some form of executable file, is this something that is possible?
I'm a noob to docker, go easy on me.
edit - I'm using the term executable lightly here. I'm realizing that docker is not the solution and will probably need to start looking into web assembly.
Yes. In your Dockerfile, if you add ENTRYPOINT and your command, it'll treat the image as an executable, once it's built.
So if you have ENTRYPOINT ["echo", "hello world"] for example, when you run a container based off this image, the it'll use that command as its execution point.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With