解决docker配置自动补全命令报错
作者:互联网
# 补全命令
curl -L https://raw.githubusercontent.com/docker/compose
/1.29.1/contrib/completion/bash/docker-compose > /etc/ba
sh_completion.d/docker-compose
如果这里报错,则执行
echo "199.232.68.133 raw.githubusercontent.com" >> /etc/hosts
执行完后在执行第一步,如果出现下面情况
则需要重新启动docker
systemctl restart docker
标签:completion,compose,补全,raw,报错,docker 来源: https://blog.csdn.net/crazy1013/article/details/122401970