Kong installs in Docker environment
发布时间
阅读量:
阅读量
一、创建一个Docker网络
docker network create kong-net
当用户在构建自定义网络过程中,若遇到如下提示信息:
Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network 1
这通常意味着Docker系统默认仅允许创建30个不同的自定义bridge网络,一旦超出该数量限制,便会触发上述错误。用户可通过执行docker network ls命令来检查当前已创建的网络列表,并利用docker network prune命令清理未被使用的网络资源。
二、安装数据库
数据库版本可根据需求进行设定
docker run -d --name kong-database \
--network=kong-net \
-p 5432:5432 \
-e "POSTGRES_USER=postgres" \
-e "POSTGRES_PASSWORD=post
全部评论 (0)
还没有任何评论哟~
