Unable to initialize backend, frontend and exporter containers (docker)

Hello folks,
Trying to deploy penpot to my server using docker without success:

deployer@vml135:/var/www/desenv/penpot$ wget https://raw.githubusercontent.com/penpot/penpot/main/docker/images/docker-compose.yaml
deployer@vml135:/var/www/desenv/penpot$ wget https://raw.githubusercontent.com/penpot/penpot/main/docker/images/config.env
deployer@vml135:/var/www/desenv/penpot$ docker-compose up
Creating network “penpot_penpot” with the default driver
Creating penpot_penpot-exporter_1 … done
Creating penpot_penpot-redis_1 … done
Creating penpot_penpot-postgres_1 … done
Creating penpot_penpot-backend_1 … done
Creating penpot_penpot-frontend_1 … done
Attaching to penpot_penpot-redis_1, penpot_penpot-postgres_1, penpot_penpot-exporter_1, penpot_penpot-backend_1, penpot_penpot-frontend_1
penpot-redis_1 | 1:C 10 Nov 2022 19:21:25.595 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
penpot-redis_1 | 1:C 10 Nov 2022 19:21:25.596 # Redis version=7.0.5, bits=64, commit=00000000, modified=0, pid=1, just started
penpot-redis_1 | 1:C 10 Nov 2022 19:21:25.596 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
penpot-exporter_1 | /usr/local/nodejs/bin/node[1]: …/src/node_platform.cc:61:std::unique_ptr node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))’ failed.
penpot-exporter_1 | 1: 0xb02930 node::Abort() [/usr/local/nodejs/bin/node]
penpot-exporter_1 | 2: 0xb029ae [/usr/local/nodejs/bin/node]
penpot-exporter_1 | 3: 0xb6fb4e [/usr/local/nodejs/bin/node]
penpot-exporter_1 | 4: 0xb6fc16 node::NodePlatform::NodePlatform(int, v8::TracingController*) [/usr/local/nodejs/bin/node]
penpot-postgres_1 |
penpot-postgres_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
penpot-postgres_1 |
penpot-postgres_1 | 2022-11-10 19:21:26.858 UTC [1] LOG: starting PostgreSQL 14.5 (Debian 14.5-2.pgdg110+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
penpot-postgres_1 | 2022-11-10 19:21:26.859 UTC [1] LOG: listening on IPv4 address “0.0.0.0”, port 5432
penpot-postgres_1 | 2022-11-10 19:21:26.859 UTC [1] LOG: listening on IPv6 address “::”, port 5432
penpot-postgres_1 | 2022-11-10 19:21:26.867 UTC [1] LOG: listening on Unix socket “/var/run/postgresql/.s.PGSQL.5432”
penpot-postgres_1 | 2022-11-10 19:21:26.880 UTC [27] LOG: database system was shut down at 2022-11-10 19:19:39 UTC
penpot-redis_1 | 1:M 10 Nov 2022 19:21:25.597 * monotonic clock: POSIX clock_gettime
penpot-redis_1 | 1:M 10 Nov 2022 19:21:25.602 * Running mode=standalone, port=6379.
penpot-redis_1 | 1:M 10 Nov 2022 19:21:25.602 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
penpot-redis_1 | 1:M 10 Nov 2022 19:21:25.602 # Server initialized
penpot-redis_1 | 1:M 10 Nov 2022 19:21:25.602 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
penpot-redis_1 | 1:M 10 Nov 2022 19:21:25.603 * Ready to accept connections
penpot-backend_1 | + exec /usr/lib/jvm/openjdk/bin/java -jar penpot.jar -m app.main
penpot-backend_1 | [0.028s][warning][os,thread] Failed to start thread “GC Thread#0” - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
penpot-backend_1 | [0.029s][error ][gc,task ] Failed to create worker thread
penpot-exporter_1 | 5: 0xac7d3d node::InitializeOncePerProcess(int, char**, node::InitializationSettingsFlags, node::ProcessFlags::Flags) [/usr/local/nodejs/bin/node]
penpot_penpot-backend_1 exited with code 1
penpot-postgres_1 | 2022-11-10 19:21:26.963 UTC [1] LOG: database system is ready to accept connections
penpot-exporter_1 | 6: 0xac8919 node::Start(int, char**) [/usr/local/nodejs/bin/node]
penpot-exporter_1 | 7: 0x7f5f3a812d90 [/lib/x86_64-linux-gnu/libc.so.6]
penpot-exporter_1 | 8: 0x7f5f3a812e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
penpot-exporter_1 | 9: 0xa3d03c [/usr/local/nodejs/bin/node]
penpot_penpot-exporter_1 exited with code 139
penpot-frontend_1 | 2022/11/10 19:21:29 [emerg] 1#1: host not found in upstream “penpot-exporter” in /etc/nginx/nginx.conf:74
penpot-frontend_1 | nginx: [emerg] host not found in upstream “penpot-exporter” in /etc/nginx/nginx.conf:74
penpot_penpot-frontend_1 exited with code 1

deployer@vml135:/var/www/desenv/penpot$ docker version
Client: Docker Engine - Community
Version: 19.03.8
API version: 1.40
Go version: go1.12.17
Git commit: afacb8b7f0
Built: Wed Mar 11 01:25:46 2020
OS/Arch: linux/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 19.03.8
API version: 1.40 (minimum version 1.12)
Go version: go1.12.17
Git commit: afacb8b7f0
Built: Wed Mar 11 01:24:19 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.13
GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683

deployer@vml135:/var/www/desenv/penpot$ docker-compose --version
docker-compose version 1.21.2, build a133471

@larry-oak this line appears to be the cause of the backend container crashing:

penpot-backend_1 | [0.028s][warning][os,thread] Failed to start thread “GC Thread#0” - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.

Here are some people with a similar error, that claims to be solved by updating docker to 20.10. Could you try updating it?

In other words, it is not a penpot issue, the docker container is unable to create JVM or nodejs threads, so you are not able to use JVM or nodejs. The stack trace in the logs indicating a pretty deep problem of compatibility between your operating system and the docker.