Cryolite / kanachan

A Japanese (Riichi) Mahjong AI Framework
284 stars 40 forks source link

Problem of building in GPU rental platform #30

Open FYNIXqwq opened 1 year ago

FYNIXqwq commented 1 year ago

The GPU rental platform I recently use is based on Docker, which means every single instance is running as a Docker container. The version of Linux is Ubuntu 9.4.0-1ubuntu1~20.04.1. I tried installing Docker by

$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh

and building Kanachan by

$ docker build -f kanachan/Dockerfile -t cryolite/kanachan .

However, the console reported error:

ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

in the step of building Kanachan.

FYNIXqwq commented 1 year ago

The Docker instructions are not available if Docker is not installed even in a Docker container.

GrandDuke1106 commented 1 year ago

This might be a problem with the docker installation, have you tried building other containers.

Cryolite commented 1 year ago

For example, the following command

$ docker run hello-world

outputs the same error, the problem could be a failure in the Docker installation, and there's nothing that can be done on kanachan's side at least.