-
Notifications
You must be signed in to change notification settings - Fork 32
Docker
(Page Work in progress)
The current use case for Docker containers is limited to compiling Cholla. Currently, @alwinm believes that it is difficult to get Docker to run Cholla on AMD GPUs, and has not yet experimented with running Cholla with Nvidia GPUs.
This section is for Cholla maintainers and contains information for creating and uploading Docker containers.
Prerequisites: install Docker and make a hub.docker.com account, which is like GitHub for docker containers and will allow GitHub actions to download your container after you upload it.
Basic Dockerfile examples: `
FROM ubuntu `
`
FROM nvidia/cuda:11.7.1-devel-ubuntu22.04 `
`
FROM rocm/dev-ubuntu-20.04:5.2.3 `
`
docker build -t .
docker run -it /bin/bash
docker tag
docker login -u hub.docker.com
docker push `
Basic explanation of Dockerfile commands: `
FROM
RUN apt-get -y update && apt-get -y install git
ENV CHOLLA_MACHINE=github `