在docker容器中部署API網關kong

實驗環境爲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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章