pip3 install docker-composeを使用すると、エラーが次のように報告されます。
解決:
sudo vim /etc/apt/sources.list
ソースを編集し、ソースの後に次のコンテンツを追加します。
deb http://cn.archive.ubuntu.com/ubuntu bionic main multiverse restricted universe
deb http://cn.archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe
deb http://cn.archive.ubuntu.com/ubuntu bionic-security main multiverse restricted universe
deb http://cn.archive.ubuntu.com/ubuntu bionic-proposed main multiverse restricted universe
保存後、ソースを更新します。
sudo apt-get update
pip3を再インストールします
sudo apt-get install python3-pip
インストールが完了したら、正しくインストールできます
docker-compose