ubuntu sudo: add-apt-repository: command not

报错:command not found

安装 docker ce 的时候提示的错误。需要安装下面两个依赖才可以使用。

apt-get install software-properties-common

apt-get install python-software-properties