一、下载Apollo源码
git clone https://github.com/ctripcorp/apollo.git
二、进入docker-quick-start 目录
cd apollo/scripts/docker-quick-start
三、安装启动
docker-compose up
看到下面日志表示已经安装成功
apollo-quick-start | Waiting for config service startup.....
apollo-quick-start | Config service started. You may visit http://localhost:8080 for service status now!
apollo-quick-start | Waiting for admin service startup.
apollo-quick-start | Admin service started
apollo-quick-start | ==== starting portal ====
apollo-quick-start | Portal logging file is ./portal/apollo-portal.log
apollo-quick-start | Started [237]
apollo-quick-start | Waiting for portal startup.....
apollo-quick-start | Portal started. You can visit http://localhost:8070 now!
参考文章:http://blog.raikay.com/post/2020/apollo/