Skip to content

haru-project/haru-docker

Repository files navigation

Haru Docker containers

Docker containers for Haru projects.

Install

Install the Docker Engine and follow the post-installation steps.

For CUDA support, also install the NVIDIA Container Toolkit.

Setup

Allow Docker GUI access:

xhost +local:docker

Images and Applications

Haru-OS

docker build --rm -t haru/haru-os:local -f haru-os/Dockerfile ./haru-os

Run:

docker run -it --rm --name haru-os \
  --network host --ipc host --gpus all \
  --env-file .env.example \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  haru/haru-os:local

Or compose: (recommended)

docker compose -f docker-compose-haru.yaml --env-file .env.example up

Haru-Simulator

docker build --rm --ssh default=$SSH_AUTH_SOCK -t haru/haru-simulator:local -f haru-simulator/Dockerfile ./haru-simulator
# or docker build --rm --secret id=github_token,src=$GITHUB_TOKEN -t haru/haru-simulator:local -f haru-simulator/Dockerfile ./haru-simulator

Run:

docker run -it --rm --name haru-os \
  --network host --ipc host --gpus all \
  --env-file .env.example \
  --device /dev/snd \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  haru/haru-simulator:local

Or compose: (recommended)

docker compose -f docker-compose-simulator.yaml --env-file .env.example up

About

Docker containers for Haru projects.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors