1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00

Update readme about run SRS in docker.

This commit is contained in:
winlin 2019-12-02 18:06:02 +08:00
parent ef1f6c189e
commit 1df1485d34

View file

@ -53,7 +53,9 @@ cd srs/trunk
./configure && make
```
> Remark: Recommend Centos6 64bits, for other OS recommend [docker][docker], please read wiki([CN][v3_CN_Build],[EN][v3_EN_Build]).
> Remark: Recommend Centos6 64bits, please read wiki([CN][v3_CN_Build],[EN][v3_EN_Build]).
> Note: You can also build SRS in docker, please read [docker][docker-dev].
<strong>Step 3:</strong> Run SRS
@ -61,6 +63,12 @@ cd srs/trunk
./objs/srs -c conf/srs.conf
```
You can also directly run SRS in [docker][docker-srs3]:
```
docker run -p 1935:1935 -p 1985:1985 -p 8080:8080 ossrs/srs:3
```
<strong>From here, </strong> strongly recommend to try other main use-scenarios:
* Usage: How to delivery RTMP?([CN][v1_CN_SampleRTMP], [EN][v1_EN_SampleRTMP])
@ -1082,7 +1090,8 @@ Winlin
[console]: http://ossrs.net:1985/console
[player]: http://ossrs.net:8000/players/srs_player.html
[modules]: https://github.com/ossrs/srs/blob/develop/trunk/modules/readme.txt
[docker]: https://github.com/ossrs/srs-docker/tree/dev#usage
[docker-srs3]: https://github.com/ossrs/srs-docker#srs3
[docker-dev]: https://github.com/ossrs/srs-docker/tree/dev#usage
[v1_CN_Git]: https://github.com/ossrs/srs/wiki/v1_CN_Git
[v1_EN_Git]: https://github.com/ossrs/srs/wiki/v1_EN_Git