https://github.com/ntodd/video_transcoding_docker
Dockerfiles for ntodd/video-transcoding docker images
https://github.com/ntodd/video_transcoding_docker
docker docker-image video-transcoding
Last synced: 4 months ago
JSON representation
Dockerfiles for ntodd/video-transcoding docker images
- Host: GitHub
- URL: https://github.com/ntodd/video_transcoding_docker
- Owner: ntodd
- License: mit
- Created: 2016-11-16T19:57:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-10T13:48:36.000Z (about 7 years ago)
- Last Synced: 2024-08-07T23:57:35.796Z (almost 2 years ago)
- Topics: docker, docker-image, video-transcoding
- Language: Dockerfile
- Size: 27.3 KB
- Stars: 29
- Watchers: 8
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Video Transcoding for Docker
Docker support for [https://github.com/donmelton/video_transcoding](https://github.com/donmelton/video_transcoding)
The Docker image is [available on Docker Hub](https://hub.docker.com/r/ntodd/video-transcoding/).
## Prerequisites
You must be running [Docker for Mac](https://docs.docker.com/engine/installation/mac/), [Docker for Linux](https://docs.docker.com/engine/installation/linux/), or [Docker for Windows](https://docs.docker.com/engine/installation/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
```