在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

猜你喜欢

转载自blog.csdn.net/kh815/article/details/85169839