Some incorrect installation wizards at "Install Kong Gateway on Docker" on the website: https://docs.konghq.com/gateway/3.2.x/install/docker/
Is there an existing issue for this?
- [X] I have searched the existing issues
Kong version ($ kong version)
3.2.1
Current Behavior
I was always failed to install the Kong following the installation wizard on "Install Kong Gateway on Docker". In following 2 steps.
"Prepare the Kong database:"
docker run --rm --network=kong-net
-e "KONG_DATABASE=postgres"
-e "KONG_PG_HOST=kong-database"
-e "KONG_PG_PASSWORD=kongpass"
kong:3.2.1 kong migrations bootstrap
and
"Run the following command to start a container with Kong Gateway:"
docker run -d --name kong-gateway
--network=kong-net
-e "KONG_DATABASE=postgres"
-e "KONG_PG_HOST=kong-database"
-e "KONG_PG_USER=kong"
-e "KONG_PG_PASSWORD=kongpass"
-e "KONG_PROXY_ACCESS_LOG=/dev/stdout"
-e "KONG_ADMIN_ACCESS_LOG=/dev/stdout"
-e "KONG_PROXY_ERROR_LOG=/dev/stderr"
-e "KONG_ADMIN_ERROR_LOG=/dev/stderr"
-e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl"
-p 8000:8000
-p 8443:8443
-p 127.0.0.1:8001:8001
-p 127.0.0.1:8444:8444
kong:3.2.1
docker: Error response from daemon: manifest for kong:3.2.1 not found: manifest unknown: manifest unknown.
Expected Behavior
Succeed to install Kong on Docker.
Steps To Reproduce
I was always failed to install the Kong following the installation wizard on "Install Kong Gateway on Docker". In following 2 steps.
"Prepare the Kong database:"
docker run --rm --network=kong-net
-e "KONG_DATABASE=postgres"
-e "KONG_PG_HOST=kong-database"
-e "KONG_PG_PASSWORD=kongpass"
kong:3.2.1 kong migrations bootstrap
and
"Run the following command to start a container with Kong Gateway:"
docker run -d --name kong-gateway
--network=kong-net
-e "KONG_DATABASE=postgres"
-e "KONG_PG_HOST=kong-database"
-e "KONG_PG_USER=kong"
-e "KONG_PG_PASSWORD=kongpass"
-e "KONG_PROXY_ACCESS_LOG=/dev/stdout"
-e "KONG_ADMIN_ACCESS_LOG=/dev/stdout"
-e "KONG_PROXY_ERROR_LOG=/dev/stderr"
-e "KONG_ADMIN_ERROR_LOG=/dev/stderr"
-e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl"
-p 8000:8000
-p 8443:8443
-p 127.0.0.1:8001:8001
-p 127.0.0.1:8444:8444
kong:3.2.1
docker: Error response from daemon: manifest for kong:3.2.1 not found: manifest unknown: manifest unknown.
Anything else?
I succeed to install it using following commands:
"Prepare the Kong database:"
docker run --rm
--network=kong-net
--link kong-database:kong-database
-e "KONG_DATABASE=postgres"
-e "KONG_PG_HOST=kong-database"
-e "KONG_PG_USER=kong"
-e "KONG_PG_PASSWORD=kongpass"
-e "KONG_CASSANDRA_CONTACT_POINTS=kong-database"
kong/kong-gateway kong migrations bootstrap
"Run the following command to start a container with Kong Gateway:"
docker run -d --name kong-gw
--network=kong-net
--link kong-database:kong-database
-e "KONG_DATABASE=postgres"
-e "KONG_PG_HOST=kong-database"
-e "KONG_PG_PASSWORD=kongpass"
-e "KONG_CASSANDRA_CONTACT_POINTS=kong-database"
-e "KONG_PROXY_ACCESS_LOG=/dev/stdout"
-e "KONG_ADMIN_ACCESS_LOG=/dev/stdout"
-e "KONG_PROXY_ERROR_LOG=/dev/stderr"
-e "KONG_ADMIN_ERROR_LOG=/dev/stderr"
-e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl"
-p 8000:8000
-p 8443:8443
-p 8001:8001
-p 8444:8444
kong/kong-gateway
I succeed to install it using following commands, hope this helps to correct the Website page. :)
"Prepare the Kong database:" docker run --rm --network=kong-net --link kong-database:kong-database -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=kong-database" -e "KONG_PG_USER=kong" -e "KONG_PG_PASSWORD=kongpass" -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" kong/kong-gateway kong migrations bootstrap
"Run the following command to start a container with Kong Gateway:" docker run -d --name kong-gw --network=kong-net --link kong-database:kong-database -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=kong-database" -e "KONG_PG_PASSWORD=kongpass" -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" -e "KONG_PROXY_ACCESS_LOG=/dev/stdout" -e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" -e "KONG_PROXY_ERROR_LOG=/dev/stderr" -e "KONG_ADMIN_ERROR_LOG=/dev/stderr" -e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl" -p 8000:8000 -p 8443:8443 -p 8001:8001 -p 8444:8444 kong/kong-gateway
kong:3.2.1 -> kong:3.2.1.0 ?
cc @Kong/devrel
@liupenghui-owen We still have issues with the 3.2.1 Docker images being unavailable from Docker hub, but this is being worked on. In the mean time, using kong:latest or kong/kong-gateway is a suitable workaround.
CC @Kong/team-docs
Dear contributor, We're closing this issue as there hasn't been any update to it for a long time. If the issue is still relevant in the latest version, please feel free to reopen it. We're more than happy to revisit it again. Your contribution is greatly appreciated! Please have a look at our pledge to the community for more information. Sincerely, Kong Gateway Team