You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/06/08 13:12:19 UTC

[GitHub] [dolphinscheduler] oryjk opened a new issue #5605: [Question] docker方式无法启动

oryjk opened a new issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605


   我参考项目中 docker/build/Dockerfile 自己写了一个dockerfile,但是启动的时候会报all命令找不到,因为我看到官网的docker方式启动的时候,会执行一个all命令,但是在dockerfile中没有找到这个命令或者相关的信息,以下是我的dockerfile文件,我只是需改了基础镜像和基于centos的包管理
   ```
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements.  See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License.  You may obtain a copy of the License at
   #
   #     http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   
   #FROM fabric8/java-centos-openjdk8-jre:1.8.1
   FROM daocloud.io/library/centos:7
   
   ARG VERSION=1.3.6
   ARG DEBIAN_FRONTEND=noninteractive
   
   ENV TZ Asia/Shanghai
   ENV LANG C.UTF-8
   ENV DOCKER true
   ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
   
   # 1. install command/library/software
   # If install slowly, you can replcae debian's mirror with new mirror, Example:
   # RUN { \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free"; \
   # } > /etc/apt/sources.list
   #RUN sed -e 's|^mirrorlist=|#mirrorlist=|g' \
   #             -e 's|^#baseurl=http://mirror.centos.org|baseurl=https://mirrors.tuna.tsinghua.edu.cn|g' \
   #             -i.bak \
   #             /etc/yum.repos.d/CentOS-*.repo
   
   #RUN yum makecache
   RUN yum install -y wget
   RUN wget -O /etc/yum.repos.d/CentOS-Base.repo https://repo.huaweicloud.com/repository/conf/CentOS-7-reg.repo
   RUN yum clean all
   RUN yum makecache
   RUN yum update
   RUN yum install java-1.8.0-openjdk
   RUN yum install -y --no-install-recommends tzdata dos2unix python supervisor procps psmisc netcat sudo tini && \
       echo "Asia/Shanghai" > /etc/timezone && \
       rm -f /etc/localtime && \
       dpkg-reconfigure tzdata && \
       rm -rf /var/lib/apt/lists/* /tmp/*
   
   # 2. add dolphinscheduler
   ADD ./apache-dolphinscheduler-${VERSION}-bin.tar.gz /opt/
   RUN ln -s -r /opt/apache-dolphinscheduler-${VERSION}-bin /opt/dolphinscheduler
   WORKDIR /opt/apache-dolphinscheduler-${VERSION}-bin
   
   # 3. add configuration and modify permissions and set soft links
   COPY ./checkpoint.sh /root/checkpoint.sh
   COPY ./startup-init-conf.sh /root/startup-init-conf.sh
   COPY ./startup.sh /root/startup.sh
   COPY ./conf/dolphinscheduler/*.tpl /opt/dolphinscheduler/conf/
   COPY ./conf/dolphinscheduler/logback/* /opt/dolphinscheduler/conf/
   COPY ./conf/dolphinscheduler/supervisor/supervisor.ini /etc/supervisor/conf.d/
   COPY ./conf/dolphinscheduler/env/dolphinscheduler_env.sh.tpl /opt/dolphinscheduler/conf/env/
   RUN sed -i 's/*.conf$/*.ini/' /etc/supervisor/supervisord.conf && \
       dos2unix /root/checkpoint.sh && \
       dos2unix /root/startup-init-conf.sh && \
       dos2unix /root/startup.sh && \
       dos2unix /opt/dolphinscheduler/script/*.sh && \
       dos2unix /opt/dolphinscheduler/bin/*.sh && \
       rm -f /bin/sh && \
       ln -s /bin/bash /bin/sh && \
       mkdir -p /tmp/xls && \
       echo PS1=\'\\w \\$ \' >> ~/.bashrc && \
       echo "Set disable_coredump false" >> /etc/sudo.conf
   
   # 4. expose port
   EXPOSE 5678 1234 12345 50051 50052
   
   ENTRYPOINT ["/usr/bin/tini", "--", "/root/startup.sh"]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] chengshiwen commented on issue #5605: [Question] Cannot start in docker mode

Posted by GitBox <gi...@apache.org>.
chengshiwen commented on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-856785376


   @oryjk You'd better use the 1.3.6 version of the [Dockerfile](https://github.com/apache/dolphinscheduler/blob/1.3.6/docker/build/Dockerfile) instead of the problematic dev branch. In addition, the all command is in the script [startup.sh](https://github.com/apache/dolphinscheduler/blob/1.3.6/docker/build/startup.sh)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] oryjk commented on issue #5605: [Question] Cannot start in custom docker mode

Posted by GitBox <gi...@apache.org>.
oryjk commented on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-861637600


   I build my custom image, when exec 'sed -i 's/*.conf$/*.ini/' /etc/supervisor/supervisord.conf', the error msg is 'sed: can't read /etc/supervisor/supervisord.conf: No such file or directory'


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] oryjk commented on issue #5605: [Question] Cannot start in custom docker mode

Posted by GitBox <gi...@apache.org>.
oryjk commented on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-861638345


   ```
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements.  See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License.  You may obtain a copy of the License at
   #
   #     http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   
   FROM daocloud.io/library/centos:7
   
   ARG VERSION=1.3.6
   ARG DEBIAN_FRONTEND=noninteractive
   
   ENV TZ Asia/Shanghai
   ENV LANG C.UTF-8
   ENV DOCKER true
   ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
   
   # 1. install command/library/software
   # If install slowly, you can replcae debian's mirror with new mirror, Example:
   # RUN { \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free"; \
   # } > /etc/apt/sources.list
   #RUN sed -e 's|^mirrorlist=|#mirrorlist=|g' \
   #             -e 's|^#baseurl=http://mirror.centos.org|baseurl=https://mirrors.tuna.tsinghua.edu.cn|g' \
   #             -i.bak \
   #             /etc/yum.repos.d/CentOS-*.repo
   RUN yum install -y wget epel-release
   #RUN yum install epel-release
   #RUN yum makecache 下面主要是通过换国内的镜像提高下载速度,可以根据现场环境进行修改
   #RUN wget -O /etc/yum.repos.d/CentOS-Base.repo https://repo.huaweicloud.com/repository/conf/CentOS-7-reg.repo
   #RUN yum clean all
   #RUN yum makecache
   RUN echo "update----------------"
   #RUN yum update -n
   RUN yum install -y java-1.8.0-openjdk tzdata dos2unix python supervisor procps psmisc netcat sudo tini nc && \
       echo "Asia/Shanghai" > /etc/timezone && \
       rm -f /etc/localtime && \
       #dpkg-reconfigure tzdata && \
       rm -rf /var/lib/apt/lists/* /tmp/*
   
   # 2. add dolphinscheduler
   ADD ./dolphinscheduler-dist/target/apache-dolphinscheduler-${VERSION}-bin.tar.gz /opt/
   RUN ln -s /opt/apache-dolphinscheduler-${VERSION}-bin /opt/dolphinscheduler
   ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
   #RUN ln -s -r /opt/apache-dolphinscheduler-${VERSION}-bin /opt/dolphinscheduler
   WORKDIR ${DOLPHINSCHEDULER_HOME}
   
   # 3. add configuration and modify permissions and set soft links
   COPY ./docker/build/checkpoint.sh /root/checkpoint.sh
   COPY ./docker/build/startup-init-conf.sh /root/startup-init-conf.sh
   COPY ./docker/build/startup.sh /root/startup.sh
   COPY ./docker/build/conf/dolphinscheduler/*.tpl /opt/dolphinscheduler/conf/
   COPY ./docker/build/conf/dolphinscheduler/logback/* /opt/dolphinscheduler/conf/
   COPY ./docker/build/conf/dolphinscheduler/supervisor/supervisor.ini /etc/supervisor/conf.d/
   COPY ./docker/build/conf/dolphinscheduler/env/dolphinscheduler_env.sh.tpl /opt/dolphinscheduler/conf/env/
   RUN sed -i 's/*.conf$/*.ini/' /etc/supervisor/supervisord.conf && \
       dos2unix /root/checkpoint.sh && \
       dos2unix /root/startup-init-conf.sh && \
       dos2unix /root/startup.sh && \
       #dos2unix /opt/dolphinscheduler/script/*.sh && \
       #dos2unix /opt/dolphinscheduler/bin/*.sh && \
       rm -f /bin/sh && \
       ln -s /bin/bash /bin/sh && \
       mkdir -p /tmp/xls && \
       echo PS1=\'\\w \\$ \' >> ~/.bashrc && \
       echo "Set disable_coredump false" >> /etc/sudo.conf
   
   # 4. expose port
   EXPOSE 5678 1234 12345 50051 50052
   
   #ENTRYPOINT ["/usr/bin/tini", "--", "/root/startup.sh"]
   ENTRYPOINT ["/root/startup.sh"]
   
   #启动命令
   # docker run -d --name dolphinscheduler \
   # -e DATABASE_HOST="192.168.0.169" -e DATABASE_PORT="5432" -e DATABASE_DATABASE="dolphinscheduler" \
   # -e DATABASE_USERNAME="test" -e DATABASE_PASSWORD="test" \
   # -e ZOOKEEPER_QUORUM="192.168.0.169:2181" \
   # -p 12345:12345 \
   # betalpha/dolphinscheduler:latest all
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] oryjk edited a comment on issue #5605: [Question] Cannot start in custom docker mode

Posted by GitBox <gi...@apache.org>.
oryjk edited a comment on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-861638345


   my dockerfile is ```
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements.  See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License.  You may obtain a copy of the License at
   #
   #     http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   
   FROM daocloud.io/library/centos:7
   
   ARG VERSION=1.3.6
   ARG DEBIAN_FRONTEND=noninteractive
   
   ENV TZ Asia/Shanghai
   ENV LANG C.UTF-8
   ENV DOCKER true
   ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
   
   # 1. install command/library/software
   # If install slowly, you can replcae debian's mirror with new mirror, Example:
   # RUN { \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free"; \
   # } > /etc/apt/sources.list
   #RUN sed -e 's|^mirrorlist=|#mirrorlist=|g' \
   #             -e 's|^#baseurl=http://mirror.centos.org|baseurl=https://mirrors.tuna.tsinghua.edu.cn|g' \
   #             -i.bak \
   #             /etc/yum.repos.d/CentOS-*.repo
   RUN yum install -y wget epel-release
   #RUN yum install epel-release
   #RUN yum makecache 下面主要是通过换国内的镜像提高下载速度,可以根据现场环境进行修改
   #RUN wget -O /etc/yum.repos.d/CentOS-Base.repo https://repo.huaweicloud.com/repository/conf/CentOS-7-reg.repo
   #RUN yum clean all
   #RUN yum makecache
   RUN echo "update----------------"
   #RUN yum update -n
   RUN yum install -y java-1.8.0-openjdk tzdata dos2unix python supervisor procps psmisc netcat sudo tini nc && \
       echo "Asia/Shanghai" > /etc/timezone && \
       rm -f /etc/localtime && \
       #dpkg-reconfigure tzdata && \
       rm -rf /var/lib/apt/lists/* /tmp/*
   
   # 2. add dolphinscheduler
   ADD ./dolphinscheduler-dist/target/apache-dolphinscheduler-${VERSION}-bin.tar.gz /opt/
   RUN ln -s /opt/apache-dolphinscheduler-${VERSION}-bin /opt/dolphinscheduler
   ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
   #RUN ln -s -r /opt/apache-dolphinscheduler-${VERSION}-bin /opt/dolphinscheduler
   WORKDIR ${DOLPHINSCHEDULER_HOME}
   
   # 3. add configuration and modify permissions and set soft links
   COPY ./docker/build/checkpoint.sh /root/checkpoint.sh
   COPY ./docker/build/startup-init-conf.sh /root/startup-init-conf.sh
   COPY ./docker/build/startup.sh /root/startup.sh
   COPY ./docker/build/conf/dolphinscheduler/*.tpl /opt/dolphinscheduler/conf/
   COPY ./docker/build/conf/dolphinscheduler/logback/* /opt/dolphinscheduler/conf/
   COPY ./docker/build/conf/dolphinscheduler/supervisor/supervisor.ini /etc/supervisor/conf.d/
   COPY ./docker/build/conf/dolphinscheduler/env/dolphinscheduler_env.sh.tpl /opt/dolphinscheduler/conf/env/
   RUN sed -i 's/*.conf$/*.ini/' /etc/supervisor/supervisord.conf && \
       dos2unix /root/checkpoint.sh && \
       dos2unix /root/startup-init-conf.sh && \
       dos2unix /root/startup.sh && \
       #dos2unix /opt/dolphinscheduler/script/*.sh && \
       #dos2unix /opt/dolphinscheduler/bin/*.sh && \
       rm -f /bin/sh && \
       ln -s /bin/bash /bin/sh && \
       mkdir -p /tmp/xls && \
       echo PS1=\'\\w \\$ \' >> ~/.bashrc && \
       echo "Set disable_coredump false" >> /etc/sudo.conf
   
   # 4. expose port
   EXPOSE 5678 1234 12345 50051 50052
   
   #ENTRYPOINT ["/usr/bin/tini", "--", "/root/startup.sh"]
   ENTRYPOINT ["/root/startup.sh"]
   
   #启动命令
   # docker run -d --name dolphinscheduler \
   # -e DATABASE_HOST="192.168.0.169" -e DATABASE_PORT="5432" -e DATABASE_DATABASE="dolphinscheduler" \
   # -e DATABASE_USERNAME="test" -e DATABASE_PASSWORD="test" \
   # -e ZOOKEEPER_QUORUM="192.168.0.169:2181" \
   # -p 12345:12345 \
   # betalpha/dolphinscheduler:latest all
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] oryjk edited a comment on issue #5605: [Question] Cannot start in custom docker mode

Posted by GitBox <gi...@apache.org>.
oryjk edited a comment on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-861638345


   my dockerfile is 
   ```
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements.  See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License.  You may obtain a copy of the License at
   #
   #     http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   
   FROM daocloud.io/library/centos:7
   
   ARG VERSION=1.3.6
   ARG DEBIAN_FRONTEND=noninteractive
   
   ENV TZ Asia/Shanghai
   ENV LANG C.UTF-8
   ENV DOCKER true
   ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
   
   # 1. install command/library/software
   # If install slowly, you can replcae debian's mirror with new mirror, Example:
   # RUN { \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free"; \
   #     echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free"; \
   # } > /etc/apt/sources.list
   #RUN sed -e 's|^mirrorlist=|#mirrorlist=|g' \
   #             -e 's|^#baseurl=http://mirror.centos.org|baseurl=https://mirrors.tuna.tsinghua.edu.cn|g' \
   #             -i.bak \
   #             /etc/yum.repos.d/CentOS-*.repo
   RUN yum install -y wget epel-release
   #RUN yum install epel-release
   #RUN yum makecache 下面主要是通过换国内的镜像提高下载速度,可以根据现场环境进行修改
   #RUN wget -O /etc/yum.repos.d/CentOS-Base.repo https://repo.huaweicloud.com/repository/conf/CentOS-7-reg.repo
   #RUN yum clean all
   #RUN yum makecache
   RUN echo "update----------------"
   #RUN yum update -n
   RUN yum install -y java-1.8.0-openjdk tzdata dos2unix python supervisor procps psmisc netcat sudo tini nc && \
       echo "Asia/Shanghai" > /etc/timezone && \
       rm -f /etc/localtime && \
       #dpkg-reconfigure tzdata && \
       rm -rf /var/lib/apt/lists/* /tmp/*
   
   # 2. add dolphinscheduler
   ADD ./dolphinscheduler-dist/target/apache-dolphinscheduler-${VERSION}-bin.tar.gz /opt/
   RUN ln -s /opt/apache-dolphinscheduler-${VERSION}-bin /opt/dolphinscheduler
   ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
   #RUN ln -s -r /opt/apache-dolphinscheduler-${VERSION}-bin /opt/dolphinscheduler
   WORKDIR ${DOLPHINSCHEDULER_HOME}
   
   # 3. add configuration and modify permissions and set soft links
   COPY ./docker/build/checkpoint.sh /root/checkpoint.sh
   COPY ./docker/build/startup-init-conf.sh /root/startup-init-conf.sh
   COPY ./docker/build/startup.sh /root/startup.sh
   COPY ./docker/build/conf/dolphinscheduler/*.tpl /opt/dolphinscheduler/conf/
   COPY ./docker/build/conf/dolphinscheduler/logback/* /opt/dolphinscheduler/conf/
   COPY ./docker/build/conf/dolphinscheduler/supervisor/supervisor.ini /etc/supervisor/conf.d/
   COPY ./docker/build/conf/dolphinscheduler/env/dolphinscheduler_env.sh.tpl /opt/dolphinscheduler/conf/env/
   RUN sed -i 's/*.conf$/*.ini/' /etc/supervisor/supervisord.conf && \
       dos2unix /root/checkpoint.sh && \
       dos2unix /root/startup-init-conf.sh && \
       dos2unix /root/startup.sh && \
       #dos2unix /opt/dolphinscheduler/script/*.sh && \
       #dos2unix /opt/dolphinscheduler/bin/*.sh && \
       rm -f /bin/sh && \
       ln -s /bin/bash /bin/sh && \
       mkdir -p /tmp/xls && \
       echo PS1=\'\\w \\$ \' >> ~/.bashrc && \
       echo "Set disable_coredump false" >> /etc/sudo.conf
   
   # 4. expose port
   EXPOSE 5678 1234 12345 50051 50052
   
   #ENTRYPOINT ["/usr/bin/tini", "--", "/root/startup.sh"]
   ENTRYPOINT ["/root/startup.sh"]
   
   #启动命令
   # docker run -d --name dolphinscheduler \
   # -e DATABASE_HOST="192.168.0.169" -e DATABASE_PORT="5432" -e DATABASE_DATABASE="dolphinscheduler" \
   # -e DATABASE_USERNAME="test" -e DATABASE_PASSWORD="test" \
   # -e ZOOKEEPER_QUORUM="192.168.0.169:2181" \
   # -p 12345:12345 \
   # betalpha/dolphinscheduler:latest all
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] oryjk commented on issue #5605: [Question] Cannot start in custom docker mode

Posted by GitBox <gi...@apache.org>.
oryjk commented on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-862098552


   I think it should be possible, because before I saw your reply, I modified it like this and run success
   
   ![image](https://user-images.githubusercontent.com/6252789/122171341-2da1a180-ceb2-11eb-93ba-15ad666b3c73.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] chengshiwen commented on issue #5605: [Question] Cannot start in custom docker mode

Posted by GitBox <gi...@apache.org>.
chengshiwen commented on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-862038489


   @oryjk In different image, the path of `/etc/supervisor/supervisord.conf` will be different. In `centos:7`, it's `/etc/supervisord.conf`. So just
   - replace `/etc/supervisor/conf.d/` with `/etc/supervisord.d`
   - remove `sed -i 's/*.conf$/*.ini/' /etc/supervisor/supervisord.conf && \`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] oryjk commented on issue #5605: [Question] Cannot start in custom docker mode

Posted by GitBox <gi...@apache.org>.
oryjk commented on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-861638068


   ![image](https://user-images.githubusercontent.com/6252789/122088509-5d13c800-ce38-11eb-9a0c-b8cfe65587d0.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] oryjk closed issue #5605: [Question] Cannot start in custom docker mode

Posted by GitBox <gi...@apache.org>.
oryjk closed issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #5605: [Question] Cannot start in docker mode

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-856765474


   Hi:
   * Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/zh-cn/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] oryjk commented on issue #5605: [Question] Cannot start in custom docker mode

Posted by GitBox <gi...@apache.org>.
oryjk commented on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-862093624


   ok, thanks, I'll try it next


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] chengshiwen commented on issue #5605: [Question] Cannot start in custom docker mode

Posted by GitBox <gi...@apache.org>.
chengshiwen commented on issue #5605:
URL: https://github.com/apache/dolphinscheduler/issues/5605#issuecomment-856788603


   And please refer to **How to build a Docker image** at https://dolphinscheduler.apache.org/en-us/docs/1.3.6/user_doc/docker-deployment.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org