Skip to content

Why my nginx-rtmp docker image cannot work #17

@harlanc

Description

@harlanc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions