I generated a cluster successfully. Then, I need to run a container with compose. So, I used docker-machine to ssh into the first node (Leader). I ran the following command:
docker pull docker/compose
I got the following error:
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: server misbehaving
Here is a screenshot:
Any help ?
How can I solve this error ? I searched a lot and I tried a lot, nothing works :(
docker/compose
nordocker:compose
. You need to installdocker-compose
using pip.pip install docker-compose
apt install -y python-pip
orapk add python-pip
oryum install python-pip
depending on the distribution