Comments (13)
@Maxyme Not maintainer, but FYI. I've tried building on both alpine and debian... the size difference is pretty minimal.
from docker-images.
@jontonsoup Could you share the Dockerfile?
from docker-images.
Just to mention, from docker image ls
- python3 alpine : 92MB
- continuumio/miniconda3: 571MB
Either miniconda is not that minimal, or alpine is much smaller, or both!
from docker-images.
@andreacassioli i threw it out after the test, but your comparison above is not accurate. python 3 alpine doesn't include all the dependencies miniconda includes. Its not a fair comparison. In my experience, its all the libraries that take up the space.
from docker-images.
Also continuumio/miniconda3: 571MB
is wrong, we use hardlinks, I suspect you are counting them twice.
from docker-images.
Oh and we also keep the tarballs present for all packages, these can be cleaned via conda if you are attempting to reduce a docker image size. Miniconda is comprised of about 33 packages.
from docker-images.
@mingwandroid Thanks for the suggestion! It would be nice if Continuum could provide a microconda image. I mean, of course one could go an tweak it, but if you could work out a very minimal image would be great.
from docker-images.
We do, actually: https://hub.docker.com/r/continuumio/miniconda/
from docker-images.
See also #77, which shaves of 70MB or so
from docker-images.
Either miniconda is not that minimal, or alpine is much smaller, or both!
Miniconda is not that minimal. It outweighs the entire debian image by several times. I don't think that debian vs alpine is yes the limiting factor.
from docker-images.
This has been done.
continuumio/miniconda3:4.7.12 is 151MB
continuumio/miniconda3:4.7.12-alpine is 55MB
from docker-images.
Nice.
from docker-images.
awesome
from docker-images.
Related Issues (20)
- Recent docker images seem to all base off of Alphine HOT 4
- Installation of ruamel.yaml fails [continuumio/miniconda3:4.10.3-alpine] HOT 5
- Critical vulnerabilities found in docker images. HOT 2
- continuumio/miniconda:4.7.12 container is broken HOT 1
- CVE-2019-19814 found in continuumio/miniconda3:latest HOT 2
- Conda installed packages not found in container any more.
- Broken symlinks in miniconda3 image
- Conda 4.12.0 has been released
- Make it clearer that conda/miniconda3 Docker image is "deprecated" / unmaintained?
- pip installed with conda in container not found HOT 1
- [renovate on-prem migration] Obsolete Dependency Dashboard
- Python 3.7 with continuumio/miniconda3 HOT 2
- Add tag as a label to image HOT 1
- QUESTION - docker-miniconda with Jupyter - assign volume HOT 1
- Please update Python version HOT 1
- Use cache mounts instead of --clean?
- continuumio/miniconda3:latest manifest type Regression v2 to v1 HOT 1
- Dependency Dashboard
- [continuumio/anaconda3:latest] TensorFlow package installation consumes much more time now HOT 2
- note book is not working in anaconda HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-images.