ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.27k stars 629 forks source link

I can not start in docker container ubuntu/debian latest Error: Could not find or load main class org.red5.server.Bootstrap #340

Closed golovanovya closed 5 years ago

golovanovya commented 6 years ago

I run start.sh RUN /ant-media-server/start.sh ---> Running in bd5ac13602d3 Running on Linux Starting Ant Media Server Error: Could not find or load main class org.red5.server.Bootstrap ERROR: Service 'ant' failed to build: The command '/bin/sh -c /ant-media-server/start.sh' returned a non-zero code: 1

When I run start-debug.sh /ant-media-server/start-debug.sh: line 15: /start.sh: No such file or directory

Ant Media Server Community 1.4.0 (August 2, 2018)

golovanovya commented 6 years ago

My docker file

` FROM ubuntu:latest

RUN apt-get update -y && apt-get upgrade -y RUN apt install software-properties-common -y RUN add-apt-repository ppa:webupd8team/java && apt-get update -y RUN echo oracle-java8-installer shared/accepted-oracle-licence-v1-1 boolean true | /usr/bin/debconf-set-selections RUN echo debconf shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | /usr/bin/debconf-set-selections RUN apt-get install oracle-java8-installer -y --allow-unauthenticated ADD ./ant-media-server /ant-media-server RUN /ant-media-server/start-debug.sh `

SelimEmre commented 5 years ago

Hi @maddog043, Thank you for your interest. Do you still have problems? If the problem persists, can you re-open this issue?