> ## 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

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](https://docs.docker.com/) for general guidance, including information on [Docker images](https://docs.docker.com/engine/reference/commandline/image_ls/).

Browse all available Anaconda images on the [Anaconda Docker Hub profile](https://hub.docker.com/u/anaconda/).

<Note>
  The `continuumio` images at [https://hub.docker.com/u/continuumio](https://hub.docker.com/u/continuumio) are deprecated and will be discontinued after version 26.7.x.
</Note>

## Miniconda image

To get a fully working Miniconda container:

1. Pull the image:

   ```bash theme={null}
   docker pull anaconda/miniconda:latest
   ```

2. Start an interactive shell with the default environment activated:

   ```bash theme={null}
   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:

   ```bash theme={null}
   conda info
   ```

<Tip>
  You can also run a Python script directly from the host machine without entering the container:

  ```bash theme={null}
  docker run -v $(pwd):/app anaconda/miniconda:latest python /app/script.py
  ```
</Tip>

## Terms of Service

This image is subject to the [Miniconda EULA](https://www.anaconda.com/legal/terms/miniconda). Access to the package repository (required for commands like `conda create`) requires accepting additional [Terms of Service](https://www.anaconda.com/legal).

Accept the ToS interactively:

```bash theme={null}
conda tos accept
```

Set an environment variable (recommended for CI):

```yaml theme={null}
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](https://hub.docker.com/r/anaconda/miniconda).

For information on building Docker images using Anaconda channels that require authentication, see [Authenticated Docker builds](/getting-started/working-with-conda/integrations/docker-authentication).
