在docker中使用16.04Ubuntu镜像 ,想要安装python3 ,添加add-apt-repository报错
这就需要安装 python-software-properties和software-properties-common
apt-get install python-software-properties
apt-get install software-properties-common
安装完后 在执行 add-apt-repository ppa:jonathonf/python-3.6 即可