For more information about this image and its history, please see the Dockerfile repository on Github.
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 # Update to the latest image $ docker pull ntodd/video-transcoding
- Download the
ntodd/video-transcodingDocker 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.
i tried to deployed it through digital ocean docker ...but couldn't execute it....1st one executed successfully,but how can i run the program in my browser ??? please help me to guide me in a proper way....
@comsysuk, @ntodd I had to modify the batch.sh file to get it to work in Docker. Specifically, the call to sed that deletes the first line from queue.txt:
// From this: sed -i '' 1d "$queue" || exit 1 // To this: sed -i 1d "$queue" || exit 1
Have you managed to get the batch.sh from Don Melton's site to run on this? I'm running it on a Windows machine and the transcoding works great, I just can't run a batch.
Thanks for this. A great help.