video_transcoding_docker
video_transcoding_docker copied to clipboard
Dockerfiles for ntodd/video-transcoding docker images
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:
- Download the
ntodd/video-transcoding
Docker image (unless already downloaded) - Mount the current working directory on your host machine as a shared volume inside the container
- 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