Skip to main content

Documentation Index

Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Docker is an open platform for developers and system administrators to build, ship, and run distributed applications, whether on laptops, data center virtual machines, or the cloud. Read the official Docker documentation for general guidance, including information on Docker images. Browse all available Anaconda images on the Anaconda Docker Hub profile.
The continuumio images at https://hub.docker.com/u/continuumio are deprecated and will be discontinued after version 26.7.x.

Miniconda image

To get a fully working Miniconda container:
  1. Pull the image:
    docker pull anaconda/miniconda:latest
    
  2. Start an interactive shell with the default environment activated:
    docker run -it anaconda/miniconda:latest
    
    This gives you direct access to the container where Miniconda is already available.
  3. Test the container by listing your conda configuration information:
    conda info
    
You can also run a Python script directly from the host machine without entering the container:
docker run -v $(pwd):/app anaconda/miniconda:latest python /app/script.py

Terms of Service

This image is subject to the Miniconda EULA. Access to the package repository (required for commands like conda create) requires accepting additional Terms of Service. Accept the ToS interactively:
conda tos accept
Set an environment variable (recommended for CI):
steps:
  - name: Run conda in Docker
    run: |
      docker run -e CONDA_PLUGINS_AUTO_ACCEPT_TOS=true anaconda/miniconda:latest \
        conda create -n myenv python=3.12 -y
For more information on using this Docker image, including building a custom image with Miniconda as the base image, see the image overivew. For information on building Docker images using Anaconda channels that require authentication, see Authenticated Docker builds.