From a16169684c71f6b0d9de93d5975b07464d9f9448 Mon Sep 17 00:00:00 2001 From: Alfred Gutierrez Date: Wed, 23 Nov 2016 13:55:17 -0800 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8bffd20..7e7d139 100644 --- a/README.md +++ b/README.md @@ -7,15 +7,22 @@ default settings for HLS live streaming. Built on Alpine Linux. * ffmpeg 3.0.2 (compiled from source) * Default HLS settings (See: [nginx.conf](nginx.conf)) -[![Docker Stars](https://img.shields.io/docker/stars/alfg/nginx-rtmp.svg)]() -[![Docker Pulls](https://img.shields.io/docker/pulls/alfg/nginx-rtmp.svg)]() -[![Docker Automated buil](https://img.shields.io/docker/automated/alfg/nginx-rtmp.svg)]() +[![Docker Stars](https://img.shields.io/docker/stars/alfg/nginx-rtmp.svg)](https://hub.docker.com/r/alfg/nginx-rtmp/) +[![Docker Pulls](https://img.shields.io/docker/pulls/alfg/nginx-rtmp.svg)](https://hub.docker.com/r/alfg/nginx-rtmp/) +[![Docker Automated build](https://img.shields.io/docker/automated/alfg/nginx-rtmp.svg)](https://hub.docker.com/r/alfg/nginx-rtmp/builds/) [![Build Status](https://travis-ci.org/alfg/docker-nginx-rtmp.svg?branch=master)](https://travis-ci.org/alfg/docker-nginx-rtmp) ## Usage ### Server -* Build and run container: +* Pull docker image and run: +``` +docker pull alfg/nginx-rtmp +docker run -it -p 1935:1935 -p 8080:80 --rm nginx-rtmp +``` +or + +* Build and run container from source: ``` docker build -t nginx-rtmp . docker run -it -p 1935:1935 -p 8080:80 --rm nginx-rtmp