Docker2exe
-
https://github.com/rzane/docker2exe
docker2exe
This tool can be used to convert a Docker image to an executable that you can send to your friends!
Works on MacOS (Intel/Arm), Linux & Windows
-
Interesting !
-
Sandstorm.io had a similar idea (iirc) where the package is a single file. I really like that! But docker doesn't provide such a functionality out of the box. Docker is based on all these layer files.
-
@girish said in Docker2exe:
But docker doesn't provide such a functionality out of the box. Docker is based on all these layer files.
Of course not, that's why this exists! Just like sysbox that got acquired by them!
How would you like to use it?
-
@robi for a start, I think it's easier to archive apps. Currently, we put images on docker hub. It's also easier to have "Upload app" button if a single file exists.
-
@girish YES! That would be a great use case, apps that don't need to run 24/7 but can be self-contained and run anytime as an 'exe'.
Yes, would be much easier to try 3rd party docker containers that way, by converting to a single file.
@robi I didn't mean the installed apps. I meant the images (though your use is valid too). As in, docker hub holds the app images. We don't have a copy/backup of every package we release. It's just for safety’s sake really, it's the main external service (other than stripe) we completely rely on
-
@robi I didn't mean the installed apps. I meant the images (though your use is valid too). As in, docker hub holds the app images. We don't have a copy/backup of every package we release. It's just for safety’s sake really, it's the main external service (other than stripe) we completely rely on