Base自动补全命令(关于Dockercompose)--学习springcloud时遇到问题
补全命令
1.使用如下命令:
curl -L https://raw.githubusercontent.com/docker/compose/1.29.1/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
2.如果上述raw.githubusercontent.com域名无法解析,使用代理服务器所提供的域名
老师提供的域名已经失效:
echo "199.232.68.133 raw.githubusercontent.com" >> /etc/hosts
我提供几个新的域名得以解决:
echo "185.199.111.133 raw.githubusercontent.com" >> /etc/hosts
echo "185.199.108.133 raw.githubusercontent.com" >> /etc/hosts