docker安装
- docker-compose安装慢
切换源
curl -L https://get.daocloud.io/docker/compose/releases/download/1.24.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
- docker-compose -p docker-apisix up -d 启动报错
Creating network "docker-apisix_apisix" with driver "bridge"
ERROR: Pool overlaps with other one on this address space
docker-compose.yml network 子网配置和已有网络配置冲突,可以ip a 查看网络配置和yml文件里面进行对比。
解决方法: 将docker-compose.yml 172.18.. 改成 172.17..
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule:
修改防火墙配置后要重启docker
- 安装apisix-dashboard
记得把RPM方式安装的服务etcd,apisix关闭
网友评论