码迷,mamicode.com
首页 > 其他好文 > 详细

Installing ffmpeg using docker

时间:2019-01-29 23:09:19      阅读:597      评论:0      收藏:0      [点我收藏+]

标签:image   ica   .com   bundle   roo   red   verify   tmp   server   

What is Docker?

Docker to run and manage apps side-by-side in isolated containers to get better compute density. Using containers, everything required to make a piece of software run is packaged into isolated containers. Unlike VMs, containers do not bundle a full operating system – only libraries and settings required to make the software work are needed. This makes for efficient, lightweight, self-contained systems and guarantees that software will always run the same, regardless of where it’s deployed.

  • Recommended for VPS as it consumes very less server resources.
  • This method is recommended for servers that use ffmpeg based application less frequently

Installation:

    1. Installing docker as a root user$ wget -qO- https://get.docker.com/ | sh

      The above command downloads and executes a small installation script written by the Docker team.

    2. Pull docker ffmpeg image$ docker pull jrottenberg/ffmpeg
    3. Add AliasOnce the Docker Installation has been completed, add below line in ~/.bashrc file

      $ alias ffmpeg=‘docker run -v=`pwd`:/tmp/workdir jrottenberg/ffmpeg‘ 
      $ source ~/.bashrc #To reload .bashrc

    4. Verify installation $ ffmpeg -buildconf

Installing ffmpeg using docker

标签:image   ica   .com   bundle   roo   red   verify   tmp   server   

原文地址:https://www.cnblogs.com/hanstar/p/10336126.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!