Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why my nginx-rtmp docker image cannot work #17

Open
harlanc opened this issue Mar 27, 2019 · 1 comment
Open

Why my nginx-rtmp docker image cannot work #17

harlanc opened this issue Mar 27, 2019 · 1 comment

Comments

@harlanc
Copy link

harlanc commented Mar 27, 2019

I use the following command to build a docker:

docker build -t  nginx-rtmp:latest .

And after it is built successfully, the size only has 16.9MB, but the docker image pulled from your docker hub has 20.6MB, then I use the following command to start the image:

docker run -p 1935:1935 -p 8080:8080   -e RTMP_STREAM_NAMES=test1,test2   nginx-rtmp

the following error happens:

nginx: [emerg] the same path name "/tmp/hls" used in /opt/nginx/conf/nginx.conf:70 and in /opt/nginx/conf/nginx.conf:70

@JasonRivers
Copy link
Owner

Why are you building instead of just running docker pull? Have you changed anything in the configs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants