實驗環境爲Ubuntu16.04,安裝docker(參考鏈接:https://blog.csdn.net/kh815/article/details/85133196)
1.打開ubuntu鏡像
docker run -i -t --name Robot_kong ubuntu /bin/sh
進入容器後
apt-get update
安裝與網絡有關的命令
apt-get install net-tools
apt-get install iputils-ping
apt-get install iproute2
2.在容器中安裝Postgresql數據庫
參考鏈接:https://blog.csdn.net/kh815/article/details/85093894
3.在容器中安裝Api網關kong
參考鏈接:https://blog.csdn.net/kh815/article/details/85096298