安装必要条件
64位的系统
可以使用sudo的用户
安装
第一步:设置包管理器仓库
在Ubuntu上设置Docker仓库。 lsb_release -cs 可以显示你的 Ubuntu 版本,比如 xenial 或者 trusty。
设置完成后,更新包管理器。
sudo apt-get -y install apt-transport-https ca-certificates
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-get install software-properties-common
sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable”
sudo apt-get udate
第二步:安装Docker
sudo apt-get -y install docker-ce
第三步:测试
sudo docker run hello-world
以上Docker已安装完毕,接下来搭建open face
使用一个已经将所有东西都安装好了的预先设定的Docker 图象:
docker pull bamos/openface
docker run -p 9000:9000