Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.24 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.24 KB

Video Transcoding for Docker

Docker support for https://github.com/donmelton/video_transcoding

The Docker image is available on Docker Hub.

Prerequisites

You must be running Docker for Mac, Docker for Linux, or Docker for Windows.

Usage

To run the video_transcoding gem in Docker, execute the following:

# Docker for Mac & Linux
docker run -itv "`pwd`":/data ntodd/video-transcoding

# Docker for Windows
docker run -itv C:\My\Current\Path:/data ntodd/video-transcoding

This will:

  1. Download the ntodd/video-transcoding Docker image (unless already downloaded)
  2. Mount the current working directory on your host machine as a shared volume inside the container
  3. Run an interactive bash shell with access to your current directory and the video_transcoding cli tools

For best results on Docker for Mac or Windows, set your CPU count in preferences to the maximum available for your machine.

To update to the latest version:

docker pull ntodd/video-transcoding:latest