idev4u / envoy-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Envoy Docker image

I would better understand how to use envoy and for this is this project. All the based on the quick-start-guide

how to use

git clone git@github.com:idev4u/envoy-docker.git
cd envoy-docker
docker build -t envoy:v1 .
docker run -d --name envoy -p 9901:9901 -p 10000:10000 envoy:v1
docker exec -it envoy /bin/sh
# go run src/main/main.go &
# Server is running ...
curl localhost:8080
hello world
{"info":"hello world"}
curl -v 127.0.0.1:10000/info

or

curl $(hostname).local:10000/info

About


Languages

Language:Go 49.7%Language:Dockerfile 38.2%Language:Shell 12.1%