atyenoria / janus-webrtc-gateway-docker

Perfect Docker Image for Media Streaming Expert User ( https://github.com/meetecho/janus-gateway )
687 stars 200 forks source link

How I can run his docker app ? #17

Closed saroar closed 5 years ago

saroar commented 5 years ago
WARNING: Published ports are discarded when using host network mode
root@WebRtcMediaServer:/# exit
exit
alif@WebRtcMediaServer:~/janus-webrtc-gateway-docker$ sudo docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
alif@WebRtcMediaServer:~/janus-webrtc-gateway-docker$ sudo docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
alif@WebRtcMediaServer:~/janus-webrtc-gateway-docker$ 
atyenoria commented 5 years ago

see https://github.com/atyenoria/janus-webrtc-gateway-docker#setup

saroar commented 5 years ago

sorry does not work i try you have problem with ur docker images

saroar commented 5 years ago

did you try your self before docker run -d --name=janus -it -p 80:80 -p 443:443 -p 8088:8088 -p 8004:8004/udp -p 8004:8004 -p 8089:8089 -p 8188:8188 atyenoria/janus-gateway-docker i try also this way but no result

saroar commented 5 years ago

ask help to docker slack they told me you have problem in ur docker images would you like to please check

saroar commented 5 years ago

i like to know why you run --rm and /bin/bash how do you run this app with /bin/bash and --rm docker run --rm --net=host --name="janus" -it -t atyenoria/janus-gateway-docker /bin/bash

atyenoria commented 5 years ago

Sorry, I've not prepared starting the janus itself. this is the todo list. So, you should try janus by yourself after entering the docker container by /bin/bash

saroar commented 5 years ago

i am so sorry i am very beginner that why so can you guide me little bit how i can do it thanks advance

saroar commented 5 years ago

may be you can add some of this lines

https://github.com/linagora/docker-janus-gateway/blob/master/Dockerfile

saroar commented 5 years ago


COPY conf/*.cfg /opt/janus/etc/janus/

RUN apt-get install nginx -y
COPY nginx/nginx.conf /etc/nginx/nginx.conf

EXPOSE 80 7088 8088 8188 8089
EXPOSE 10000-10200/udp

CMD service nginx restart && /opt/janus/bin/janus --nat-1-1=${DOCKER_IP}
saroar commented 5 years ago

so can i copy same code and past it into your docker file is it will work?

atyenoria commented 5 years ago

maybe work. but a little task is needed for seeing the janus official demo like video room

saroar commented 5 years ago

i use other docker images i share with you that is work fine but video quality was poor so i decide try yours

saroar commented 5 years ago

i got this error


 ---> Running in 91f78a665ea5
cp: cannot stat '/root/janus-gateway/certs': No such file or directory```
hnam2812 commented 4 years ago

@saroar Did you resolve this?

saroar commented 4 years ago

@hnam2812 sorry i dont remember now my project doesn't have this feature