user3245906
user3245906

Reputation: 175

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?

Upvotes: 1

Views: 473

Answers (2)

Mano Marks
Mano Marks

Reputation: 8819

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.

Upvotes: 0

Vyacheslav Enis
Vyacheslav Enis

Reputation: 1661

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

Upvotes: 4

Related Questions