Adding ppas to docker container failed.

  docker, question

I execute commands in the docker container.add-apt-repository ppa:ubuntu-wine/ppaFailure, prompt
Cannot add PPA: ‘ppa:ppaname/ppa’.
Please check that the PPA name or format is correct.

But executing the same command on host is successful.

According to google’s plans, I tried to install the following software first
apt-get install python-software-properties,
apt-get install software-properties-common,
apt-get install –reinstall ca-certificates,
There is still no solution to the problem.

Host’s system is ubuntu 14.04,64-bit, and container’s image is also based on docker’s official ubuntu14.04 image.

Don’t you know anyone has encountered similar problems? Please give me some advice. Thank you

I have probably done just a few things.

sudo  docker run -i -t ubuntu:14.04 /bin/bash

And then inside the container

apt-get update
 apt-get install software-properties-common
 add-apt-repository ppa:ubuntu-wine/ppa

Ppa added successfully