- Install Nvidia Docker Support
$ distribution=$(. /etc/os-release;echo $ID$VERSION_ID) && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
$ sudo apt update
$ sudo apt install -y nvidia-docker2
$ sudo systemctl restart docker
- Install Rocker
$ sudo apt install -y python3-rocker
$ docker build -t merlin2:humble .
$ docker pull mgons/merlin2:humble
$ rocker --nvidia --x11 --pulse mgons/merlin2:humble