Jump to content
  • 0

Help me Build using docker


Q1Ø.ÈMAÎgìMAg
 Share

Question

### Short description
I already build ant media server with docker flow tep by step on https://github.com/ant-media/Ant-Media-Server/wiki/Installation
I running container and it's exits, I dont know why? so I hope everybody help me, thank you so much!
### Environment
Docker Version:19.03.8
* Operating system and version:
* Java version: 
* Ant Media Server version: Ant-Media Server Community 2.0.0
* Browser name and version: Chrome

### Steps to reproduce
1. Create folder streaming and run cd streaming
2. Dowload ant-media-server-2.0.0-community-2.0.0-20200504_1842.zip from https://github.com/ant-media/Ant-Media-Server/releases/tag/ams-v2.0.0
2. Build image from Dockerfile docker build -t antmediaserver --build-arg AntMediaServer=ant-media-server-2.0.0-community-2.0.0-20200504_1842.zip .
3. Run image docker run -d -p 5080:5080 -p 1935:1935 -p 5000:5000 --privileged=true antmediaserver
4. I check using docker ps -a and I see container is exits
### Expected behavior
- Container is running with any ports 5080,1935,5000
### Actual behavior
- Container is exits


### Logs
I check log from container exits and I see log:
Path /usr/local/antmedia
The Ant Media Service has started.
Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
Hi, thanks for reaching us. Could you please add "-it" parameter to your docker run command? 

example:
docker run -d -p 5080:5080 -p 1935:1935 -p 5000:5000 --privileged=true -it antmediaserver

Best.

25 Temmuz 2020 Cumartesi 13:21:09 UTC+3 tarihinde Nguyễn Duy Tuấn yazdı:
### Short description
I already build ant media server with docker flow tep by step on https://github.com/ant-media/Ant-Media-Server/wiki/Installation
I running container and it's exits, I dont know why? so I hope everybody help me, thank you so much!
### Environment
Docker Version:19.03.8
* Operating system and version:
* Java version: 
* Ant Media Server version: Ant-Media Server Community 2.0.0
* Browser name and version: Chrome

### Steps to reproduce
1. Create folder streaming and run cd streaming
2. Dowload ant-media-server-2.0.0-community-2.0.0-20200504_1842.zip from https://github.com/ant-media/Ant-Media-Server/releases/tag/ams-v2.0.0
2. Build image from Dockerfile docker build -t antmediaserver --build-arg AntMediaServer=ant-media-server-2.0.0-community-2.0.0-20200504_1842.zip .
3. Run image docker run -d -p 5080:5080 -p 1935:1935 -p 5000:5000 --privileged=true antmediaserver
4. I check using docker ps -a and I see container is exits
### Expected behavior
- Container is running with any ports 5080,1935,5000
### Actual behavior
- Container is exits


### Logs
I check log from container exits and I see log:
Path /usr/local/antmedia
The Ant Media Service has started.
Link to comment
Share on other sites

  • 0
First I thank you so much for response
Yes I can, and it's work well, but I do not want exec on container, I want run docker run -d -p 5080:5080 -p 1935:1935 -p 5000:5000 --privileged=true antmediaserver and container is running, You can any suggest for me?

On Sunday, July 26, 2020 at 3:03:06 PM UTC+7, Murat Uğur EMİNOĞLU wrote:
Hi, thanks for reaching us. Could you please add "-it" parameter to your docker run command? 

example:
docker run -d -p 5080:5080 -p 1935:1935 -p 5000:5000 --privileged=true -it antmediaserver

Best.

25 Temmuz 2020 Cumartesi 13:21:09 UTC+3 tarihinde Nguyễn Duy Tuấn yazdı:
### Short description
I already build ant media server with docker flow tep by step on https://github.com/ant-media/Ant-Media-Server/wiki/Installation
I running container and it's exits, I dont know why? so I hope everybody help me, thank you so much!
### Environment
Docker Version:19.03.8
* Operating system and version:
* Java version: 
* Ant Media Server version: Ant-Media Server Community 2.0.0
* Browser name and version: Chrome

### Steps to reproduce
1. Create folder streaming and run cd streaming
2. Dowload ant-media-server-2.0.0-community-2.0.0-20200504_1842.zip from https://github.com/ant-media/Ant-Media-Server/releases/tag/ams-v2.0.0
2. Build image from Dockerfile docker build -t antmediaserver --build-arg AntMediaServer=ant-media-server-2.0.0-community-2.0.0-20200504_1842.zip .
3. Run image docker run -d -p 5080:5080 -p 1935:1935 -p 5000:5000 --privileged=true antmediaserver
4. I check using docker ps -a and I see container is exits
### Expected behavior
- Container is running with any ports 5080,1935,5000
### Actual behavior
- Container is exits


### Logs
I check log from container exits and I see log:
Path /usr/local/antmedia
The Ant Media Service has started.
Link to comment
Share on other sites

  • 0
Hi, You should run with -it parameter, otherwise, It will not run.

In this case, the flags -i and -t tell Docker we want an interactive session with a tty attached.

Best.

26 Temmuz 2020 Pazar 11:10:52 UTC+3 tarihinde Nguyễn Duy Tuấn yazdı:
First I thank you so much for response
Yes I can, and it's work well, but I do not want exec on container, I want run docker run -d -p 5080:5080 -p 1935:1935 -p 5000:5000 --privileged=true antmediaserver and container is running, You can any suggest for me?

On Sunday, July 26, 2020 at 3:03:06 PM UTC+7, Murat Uğur EMİNOĞLU wrote:
Hi, thanks for reaching us. Could you please add "-it" parameter to your docker run command? 

example:
docker run -d -p 5080:5080 -p 1935:1935 -p 5000:5000 --privileged=true -it antmediaserver

Best.

25 Temmuz 2020 Cumartesi 13:21:09 UTC+3 tarihinde Nguyễn Duy Tuấn yazdı:
### Short description
I already build ant media server with docker flow tep by step on https://github.com/ant-media/Ant-Media-Server/wiki/Installation
I running container and it's exits, I dont know why? so I hope everybody help me, thank you so much!
### Environment
Docker Version:19.03.8
* Operating system and version:
* Java version: 
* Ant Media Server version: Ant-Media Server Community 2.0.0
* Browser name and version: Chrome

### Steps to reproduce
1. Create folder streaming and run cd streaming
2. Dowload ant-media-server-2.0.0-community-2.0.0-20200504_1842.zip from https://github.com/ant-media/Ant-Media-Server/releases/tag/ams-v2.0.0
2. Build image from Dockerfile docker build -t antmediaserver --build-arg AntMediaServer=ant-media-server-2.0.0-community-2.0.0-20200504_1842.zip .
3. Run image docker run -d -p 5080:5080 -p 1935:1935 -p 5000:5000 --privileged=true antmediaserver
4. I check using docker ps -a and I see container is exits
### Expected behavior
- Container is running with any ports 5080,1935,5000
### Actual behavior
- Container is exits


### Logs
I check log from container exits and I see log:
Path /usr/local/antmedia
The Ant Media Service has started.
Link to comment
Share on other sites

 Share

×
×
  • Create New...