Solve the problem of docker configuration automatic completion command error

#Complete command

curl -L https://raw.githubusercontent.com/docker/compose
/1.29.1/contrib/completion/bash/docker-compose > /etc/ba
sh_completion.d/docker-compose

If an error is reported here, execute

echo "199.232.68.133 raw.githubusercontent.com" >> /etc/hosts

After executing the first step, if the following situation occurs

 You need to restart docker

systemctl restart docker

Guess you like

Origin blog.csdn.net/crazy1013/article/details/122401970