Startec
Startec

Reputation: 13216

Why are there Conda specific Docker images when Conda is not an OS?

My understanding is that Docker environments are essentially stripped down Linux operating systems. So why is there an Anaconda Docker image when Anaconda is not an operating system - given that Conda / Anaconda is used within a Linux distribution.

Upvotes: 0

Views: 170

Answers (1)

Julio Cezar Silva
Julio Cezar Silva

Reputation: 2466

It's not wrong to use a software containerization tool to containerize... well, software.

The existence of Conda-specific Docker images should not be seen as invalid just because Conda is not an OS. It's as valid as Python Docker images, or, say, Jenkins Docker images.

That's because the motivation of creating a Docker is plain and simple: to package software someone wants to run somewhere.

Don't just trust my word - see what Docker has to say. From their own definition in "What is a Container?", they say "A standardized unit of software". It doesn't say "A standardized unit of Operating Systems", so it's not safe to conclude the only task or restriction relating Docker images is their OSes.

As for Conda, for example, the benefits it brings to Python environment management is both scriptable and useful for Python services you'll want to build and manage once inside a Docker image. Perhaps your specific workflow notions don't match that use case, but software in its essence is extremely bendable. You can assume there's a considerable number of people that benefit from it.

Upvotes: 1

Related Questions