Skip to content

[Bug] docker compose启动1.6.0,dolphinscheduler相关容器都启动失败。 #32

Description

@javaocean

Pre-submission checklist

  • I have searched existing issues, including closed ones, and found no duplicates
  • I confirm this issue does not contain sensitive information such as passwords, tokens, or phone numbers

Version

开源版1.6.0

Environment

Centos7,Docker

Description

docker compose启动1.6.0,dolphinscheduler相关容器都启动失败。

Steps to reproduce

docker compose -f docker-compose-mysql.yml --profile local up -d

Expected behavior

所有容器启动正常。

Actual behavior

Image

Logs / screenshots (optional)

dolphinscheduler-api-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 17: $'\r': command not found
dolphinscheduler-api-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 18: $'\r': command not found
dolphinscheduler-api-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 21: $'\r': command not found
dolphinscheduler-api-1 | JAVA_HOME=/opt/java/openjdk
dolphinscheduler-api-1 | JAVA_OPTS=-server -Xms2g -Xmx2g -Xmn1g -XX:+IgnoreUnrecognizedVMOptions -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc.log -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof -Duser.timezone=${SPRING_JACKSON_TIME_ZONE} -XX:-UseContainerSupport
/bin/java: No such file or directoryt.sh: line 45: /opt/java/openjdk
dolphinscheduler-postgresql-1 | postgresql 08:31:09.91
dolphinscheduler-postgresql-1 | postgresql 08:31:09.91 Welcome to the Bitnami postgresql container
dolphinscheduler-postgresql-1 | postgresql 08:31:09.92 Subscribe to project updates by watching https://github.com/bitnami/containers
dolphinscheduler-postgresql-1 | postgresql 08:31:09.92 Submit issues and feature requests at https://github.com/bitnami/containers/issues
dolphinscheduler-postgresql-1 | postgresql 08:31:09.92
dolphinscheduler-postgresql-1 | postgresql 08:31:09.94 INFO ==> ** Starting PostgreSQL setup **
dolphinscheduler-postgresql-1 | postgresql 08:31:09.96 INFO ==> Validating settings in POSTGRESQL_* env vars..
dolphinscheduler-postgresql-1 | postgresql 08:31:09.96 INFO ==> Loading custom pre-init scripts...
dolphinscheduler-postgresql-1 | postgresql 08:31:09.97 INFO ==> Initializing PostgreSQL database...
dolphinscheduler-postgresql-1 | postgresql 08:31:09.99 INFO ==> pg_hba.conf file not detected. Generating it...
dolphinscheduler-postgresql-1 | postgresql 08:31:09.99 INFO ==> Generating local authentication configuration
dolphinscheduler-postgresql-1 | postgresql 08:31:10.91 INFO ==> Starting PostgreSQL in background...
dolphinscheduler-postgresql-1 | postgresql 08:31:11.10 INFO ==> Creating user root
dolphinscheduler-postgresql-1 | postgresql 08:31:11.12 INFO ==> Granting access to "root" to the database "dolphinscheduler"
dolphinscheduler-postgresql-1 | postgresql 08:31:11.14 INFO ==> Setting ownership for the 'public' schema database "dolphinscheduler" to "root"
dolphinscheduler-postgresql-1 | postgresql 08:31:11.17 INFO ==> Configuring replication parameters
dolphinscheduler-postgresql-1 | postgresql 08:31:11.20 INFO ==> Configuring synchronous_replication
dolphinscheduler-postgresql-1 | postgresql 08:31:11.21 INFO ==> Configuring fsync
dolphinscheduler-postgresql-1 | postgresql 08:31:11.23 INFO ==> Stopping PostgreSQL...
dolphinscheduler-postgresql-1 | waiting for server to shut down.... done
dolphinscheduler-postgresql-1 | server stopped
dolphinscheduler-postgresql-1 | postgresql 08:31:11.44 INFO ==> Loading custom scripts...
dolphinscheduler-postgresql-1 | postgresql 08:31:11.44 INFO ==> Loading user's custom files from /docker-entrypoint-initdb.d ...
dolphinscheduler-postgresql-1 | postgresql 08:31:11.45 INFO ==> Starting PostgreSQL in background...
dolphinscheduler-postgresql-1 | postgresql 08:31:13.07 INFO ==> Enabling remote connections
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.86
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.86 Welcome to the Bitnami zookeeper container
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.86 Subscribe to project updates by watching https://github.com/bitnami/containers
dolphinscheduler-worker-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 17: $'\r': command not found
dolphinscheduler-worker-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 18: $'\r': command not found
dolphinscheduler-worker-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 21: $'\r': command not found
dolphinscheduler-worker-1 | JAVA_HOME=/opt/java/openjdk
dolphinscheduler-worker-1 | JAVA_OPTS=-server -Xms2g -Xmx2g -Xmn1g -XX:+IgnoreUnrecognizedVMOptions -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc.log -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof -Duser.timezone=${SPRING_JACKSON_TIME_ZONE} -XX:-UseContainerSupport
/sbin/start-slave.sh: No such file or directory: line 47: /opt/soft/spark
/bin/java: No such file or directoryin/start.sh: line 48: /opt/java/openjdk
dolphinscheduler-alert-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 17: $'\r': command not found
dolphinscheduler-postgresql-1 | postgresql 08:31:13.08 INFO ==> Stopping PostgreSQL...
dolphinscheduler-postgresql-1 | waiting for server to shut down.... done
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.87 Submit issues and feature requests at https://github.com/bitnami/containers/issues
dolphinscheduler-alert-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 18: $'\r': command not found
dolphinscheduler-postgresql-1 | server stopped
dolphinscheduler-postgresql-1 | postgresql 08:31:13.19 INFO ==> ** PostgreSQL setup finished! **
dolphinscheduler-postgresql-1 |
dolphinscheduler-postgresql-1 | postgresql 08:31:13.21 INFO ==> ** Starting PostgreSQL **
dolphinscheduler-postgresql-1 | 2026-08-10 08:31:13.231 GMT [1] LOG: pgaudit extension initialized
dolphinscheduler-postgresql-1 | 2026-08-10 08:31:13.239 GMT [1] LOG: starting PostgreSQL 15.2 on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
dolphinscheduler-postgresql-1 | 2026-08-10 08:31:13.239 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
dolphinscheduler-alert-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 21: $'\r': command not found
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.87
dolphinscheduler-master-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 17: $'\r': command not found
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.87 INFO ==> ** Starting ZooKeeper setup **
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.89 WARN ==> You have set the environment variable ALLOW_ANONYMOUS_LOGIN=yes. For safety reasons, do not use this flag in a production environment.
dolphinscheduler-alert-1 | JAVA_HOME=/opt/java/openjdk
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.90 INFO ==> Initializing ZooKeeper...
dolphinscheduler-alert-1 | JAVA_OPTS=-server -Xms725m -Xmx725m -Xmn512m -XX:+IgnoreUnrecognizedVMOptions -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc.log -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof -Duser.timezone=${SPRING_JACKSON_TIME_ZONE} -XX:-UseContainerSupport
dolphinscheduler-master-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 18: $'\r': command not found
/bin/java: No such file or directoryin/start.sh: line 45: /opt/java/openjdk
dolphinscheduler-master-1 | /opt/dolphinscheduler/conf/dolphinscheduler_env.sh: line 21: $'\r': command not found
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.90 INFO ==> No injected configuration file found, creating default config files...
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.95 INFO ==> No additional servers were specified. ZooKeeper will run in standalone mode...
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.96 INFO ==> Deploying ZooKeeper with persisted data...
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.96 INFO ==> ** ZooKeeper setup finished! **
dolphinscheduler-zookeeper-1 |
dolphinscheduler-postgresql-1 | 2026-08-10 08:31:13.239 GMT [1] LOG: listening on IPv6 address "::", port 5432
dolphinscheduler-master-1 | JAVA_HOME=/opt/java/openjdk
dolphinscheduler-postgresql-1 | 2026-08-10 08:31:13.241 GMT [1] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
dolphinscheduler-zookeeper-1 | zookeeper 08:31:08.98 INFO ==> ** Starting ZooKeeper **
dolphinscheduler-postgresql-1 | 2026-08-10 08:31:13.243 GMT [169] LOG: database system was shut down at 2026-08-10 08:31:13 GMT
dolphinscheduler-postgresql-1 | 2026-08-10 08:31:13.284 GMT [1] LOG: database system is ready to accept connections
dolphinscheduler-zookeeper-1 | /opt/bitnami/java/bin/java
dolphinscheduler-postgresql-1 | 2026-08-10 08:36:13.343 GMT [167] LOG: checkpoint starting: time
dolphinscheduler-postgresql-1 | 2026-08-10 08:36:24.771 GMT [167] LOG: checkpoint complete: wrote 117 buffers (0.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=11.423 s, sync=0.003 s, total=11.428 s; sync files=29, longest=0.002 s, average=0.001 s; distance=812 kB, estimate=812 kB
dolphinscheduler-master-1 | JAVA_OPTS=-server -Xms2g -Xmx2g -Xmn1g -XX:+IgnoreUnrecognizedVMOptions -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc.log -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof -Duser.timezone=${SPRING_JACKSON_TIME_ZONE} -XX:-UseContainerSupport
/bin/java: No such file or directoryin/start.sh: line 45: /opt/java/openjdk
dolphinscheduler-zookeeper-1 | ZooKeeper JMX enabled by default
dolphinscheduler-zookeeper-1 | Using config: /opt/bitnami/zookeeper/bin/../conf/zoo.cfg

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions