Q1Ø.ÈMAÎgìMAg Posted July 25, 2020 Share Posted July 25, 2020 ### 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 1. Download Dockerfile using wget https://raw.githubusercontent.com/ant-media/Scripts/master/Dockerfile 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 More sharing options...
0 Murat Uur EM0NOLU Posted July 26, 2020 Share Posted July 26, 2020 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 antmediaserverBest.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 1. Download Dockerfile using wget https://raw.githubusercontent.com/ant-media/Scripts/master/Dockerfile 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 More sharing options...
0 Q1Ø.ÈMAÎgìMAg Posted July 26, 2020 Author Share Posted July 26, 2020 First I thank you so much for responseYes 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 antmediaserverBest.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 1. Download Dockerfile using wget https://raw.githubusercontent.com/ant-media/Scripts/master/Dockerfile 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 More sharing options...
0 Murat Uur EM0NOLU Posted July 27, 2020 Share Posted July 27, 2020 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 responseYes 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 antmediaserverBest.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 1. Download Dockerfile using wget https://raw.githubusercontent.com/ant-media/Scripts/master/Dockerfile 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 More sharing options...
Question
Q1Ø.ÈMAÎgìMAg
Link to comment
Share on other sites
Top Posters For This Question
2
2
Popular Days
Jul 26
2
Jul 25
1
Jul 27
1
Top Posters For This Question
Murat Uur EM0NOLU 2 posts
Q1Ø.ÈMAÎgìMAg 2 posts
Popular Days
Jul 26 2020
2 posts
Jul 25 2020
1 post
Jul 27 2020
1 post
3 answers to this question
Recommended Posts