Docker-compose-datalore hanging

Following the installation instructions, I cloned the git repo, modified the docker-compose.yaml, and ran docker compose up.

Everything looks fine, except that the docker-compose-datalore server never starts responding to requests at http://127.0.0.1:8080/. It simply hangs without timeout, http errors or anything.

I run Docker Compose version v2.10.2 on a Mac M1 with 16GB RAM.

Here is my console output:

➜  docker-compose git:(2022.2.3) ✗ docker compose up
[+] Running 2/2
 ⠿ Container docker-compose-postgresql-1  Created                                                                              0.0s
 ⠿ Container docker-compose-datalore-1    Recreated                                                                            3.0s
Attaching to docker-compose-datalore-1, docker-compose-postgresql-1
docker-compose-datalore-1    | Using default docker.agents-config.yaml. If you want to customize in please mount your's agents-config.yaml into /opt/datalore/configs/agents-config.yaml
docker-compose-postgresql-1  |
docker-compose-postgresql-1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
docker-compose-postgresql-1  |
docker-compose-postgresql-1  | 2022-10-06 17:57:25.644 UTC [1] LOG:  starting PostgreSQL 12.9 (Debian 12.9-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
docker-compose-postgresql-1  | 2022-10-06 17:57:25.647 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
docker-compose-postgresql-1  | 2022-10-06 17:57:25.648 UTC [1] LOG:  listening on IPv6 address "::", port 5432
docker-compose-postgresql-1  | 2022-10-06 17:57:25.650 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
docker-compose-postgresql-1  | 2022-10-06 17:57:25.714 UTC [60] LOG:  database system was shut down at 2022-10-06 17:54:51 UTC
docker-compose-postgresql-1  | 2022-10-06 17:57:25.735 UTC [1] LOG:  database system is ready to accept connections
docker-compose-datalore-1    | WARN  : Forking second JVM due to forking module(s): [logging-jul-capture]. Use --dry-run to generate the command line to avoid forking.

Hello @Brian_Pedersen,

Unfortunately, Docker Desktop is not fully compatible with docker engine and various problems like yours can occur, therefore macOS is not officially supported as a host system for Datalore.

1 Like