更新docker镜像

This commit is contained in:
xiongziliang 2022-06-19 19:39:48 +08:00
parent 160b3a67bd
commit 67606050dc
3 changed files with 4 additions and 7 deletions

View File

@ -140,11 +140,8 @@
你可以从Docker Hub下载已经编译好的镜像并启动它 你可以从Docker Hub下载已经编译好的镜像并启动它
```bash ```bash
#此镜像为zlmediakit开发团队提供,推荐 #此镜像为github持续集成自动编译推送,跟代码(master分支)保持最新状态
docker run -id -p 1935:1935 -p 8080:80 -p 8554:554 -p 10000:10000 -p 10000:10000/udp -p 8000:8000/udp zlmediakit/zlmediakit:Release.last docker run -id -p 1935:1935 -p 8080:80 -p 8443:443 -p 8554:554 -p 10000:10000 -p 10000:10000/udp -p 8000:8000/udp -p 9000:9000/udp zlmediakit/zlmediakit:master
#此镜像委托第三方提供
docker run -id -p 1935:1935 -p 8080:80 -p 8554:554 -p 10000:10000 -p 10000:10000/udp panjjo/zlmediakit
``` ```
你也可以根据Dockerfile编译镜像 你也可以根据Dockerfile编译镜像

View File

@ -257,7 +257,7 @@ git submodule update --init
## Docker Image ## Docker Image
You can pull a pre-built docker image from Docker Hub and run with You can pull a pre-built docker image from Docker Hub and run with
```bash ```bash
docker run -id -p 1935:1935 -p 8080:80 -p 8554:554 -p 10000:10000 -p 10000:10000/udp panjjo/zlmediakit docker run -id -p 1935:1935 -p 8080:80 -p 8443:443 -p 8554:554 -p 10000:10000 -p 10000:10000/udp -p 8000:8000/udp -p 9000:9000/udp zlmediakit/zlmediakit:master
``` ```
Dockerfile is also supplied to build images on Ubuntu 16.04 Dockerfile is also supplied to build images on Ubuntu 16.04

View File

@ -1,7 +1,6 @@
FROM ubuntu:18.04 AS build FROM ubuntu:18.04 AS build
ARG MODEL ARG MODEL
#shell,rtmp,rtsp,rtsps,http,https,rtp #shell,rtmp,rtsp,rtsps,http,https,rtp
EXPOSE 9000/tcp
EXPOSE 1935/tcp EXPOSE 1935/tcp
EXPOSE 554/tcp EXPOSE 554/tcp
EXPOSE 80/tcp EXPOSE 80/tcp
@ -9,6 +8,7 @@ EXPOSE 443/tcp
EXPOSE 10000/udp EXPOSE 10000/udp
EXPOSE 10000/tcp EXPOSE 10000/tcp
EXPOSE 8000/udp EXPOSE 8000/udp
EXPOSE 9000/udp
# ADD sources.list /etc/apt/sources.list # ADD sources.list /etc/apt/sources.list