简体   繁体   中英

Can I distribute a python application with docker?

I am developing a python application (a package) that can be distributed with distutils. I need to share it with someone that does not have python installed.

Is it possible to bundle the entire package and distribute it with docker?

If they have docker then you can distribute your whole application as a docker image. This is the main docker use-case.

Yes, you can distribute the app through an image in a registry. Given your description and comments, it sounds like Docker Cloud would be a good place to do that. Cloud is the more modern interface to Docker Hub. Then they can just do a docker pull yourusername/yourimagename and use the app. And they don't have to have python installed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM