Add Docker support

This commit is contained in:
Gemfield
2019-11-08 16:50:23 +08:00
parent ccbd1d4a83
commit 814e94b6b0
2 changed files with 47 additions and 0 deletions

View File

@@ -306,6 +306,17 @@ It is recommended to compile on Ubuntu or MacOScompiling on windows is cumber
});
```
## Docker Image
You can pull a pre-built docker image from Docker Hub and run with
```bash
docker run -id -p 1935:1935 -p 8080:80 gemfield/zlmediakit
```
Dockerfile is also supplied to build images on Ubuntu 16.04
```bash
cd docker
docker build -t zlmediakit .
```
## Mirrors