Installing Envoy
The Envoy project provides a number of pre-built Docker images for both amd64
and arm64
architectures.
If you are installing on Mac OSX, you can install natively with brew
.
Once you have installed Envoy, check out the quick start guide for more information on getting your Envoy proxy up and running.
Install Envoy on Debian-based Linux
If you are using a different deb-based distribution to the ones shown below, you may still be able to use one of them.
$ wget -O- https://apt.envoyproxy.io/signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/envoy-keyring.gpg
$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/envoy-keyring.gpg] https://apt.envoyproxy.io bookworm main" | sudo tee /etc/apt/sources.list.d/envoy.list
$ sudo apt-get update
$ sudo apt-get install envoy
$ envoy --version
$ wget -O- https://apt.envoyproxy.io/signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/envoy-keyring.gpg
$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/envoy-keyring.gpg] https://apt.envoyproxy.io bullseye main" | sudo tee /etc/apt/sources.list.d/envoy.list
$ sudo apt-get update
$ sudo apt-get install envoy
$ envoy --version
$ wget -O- https://apt.envoyproxy.io/signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/envoy-keyring.gpg
$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/envoy-keyring.gpg] https://apt.envoyproxy.io focal main" | sudo tee /etc/apt/sources.list.d/envoy.list
$ sudo apt-get update
$ sudo apt-get install envoy
$ envoy --version
$ wget -O- https://apt.envoyproxy.io/signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/envoy-keyring.gpg
$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/envoy-keyring.gpg] https://apt.envoyproxy.io jammy main" | sudo tee /etc/apt/sources.list.d/envoy.list
$ sudo apt-get update
$ sudo apt-get install envoy
$ envoy --version
Install Envoy on Mac OSX
You can install Envoy on Mac OSX using the official brew repositories.
$ brew update
$ brew install envoy
Install Envoy using Docker
You can run Envoy using the official Docker images.
The following commands will pull and show the Envoy version of current images.
$ docker pull envoyproxy/envoy:dev-8d1086d9bfc820636b1d641c117265b2fe5f3fa4
$ docker run --rm envoyproxy/envoy:dev-8d1086d9bfc820636b1d641c117265b2fe5f3fa4 --version
$ docker pull envoyproxy/envoy:distroless-dev-8d1086d9bfc820636b1d641c117265b2fe5f3fa4
$ docker run --rm envoyproxy/envoy:distroless-dev-8d1086d9bfc820636b1d641c117265b2fe5f3fa4 --version
Supported architectures
The Envoy project currently supports amd64
and arm64
architectures for its Linux build and images.
Contrib builds
As described in this document, the Envoy project allows extensions to enter the repository as “contrib” extensions. The requirements for such extensions are lower, and as such they are only available by default in special images.
Throughout the documentation, extensions are clearly marked as being a contrib extension or a core extension.
Image variants
envoyproxy/envoy:<version>
These images contains just the core Envoy binary built upon an Ubuntu base image.
envoyproxy/envoy:distroless-<version>
These images contains just the core Envoy binary built upon a distroless (nonroot/nossl) base image.
These images are the most efficient and secure way to deploy Envoy in a container.
envoyproxy/envoy:contrib-<version>
These images contain the Envoy binary built with all contrib extensions on top of an Ubuntu base.
envoyproxy/envoy:tools-<version>
These images contain tools that are separate from the proxy binary but are useful in supporting systems such as CI, configuration generation pipelines, etc
envoyproxy/envoy:dev
/ envoyproxy/envoy:dev-<SHA>
/ envoyproxy/envoy:<variant>-dev
/ envoyproxy/envoy:<variant>-dev-<SHA>
The Envoy project considers the main
branch to be release candidate quality at all times, and many organizations track and deploy main
in production.
We encourage you to do the same so that issues can be reported and resolved as quickly as possible.
envoyproxy/envoy:debug-<version>
/ envoyproxy/envoy:<variant>-debug-<version>
These images are built for each of the variants, but with an Envoy binary containing debug symbols.
Pre-built Envoy Docker images
envoyproxy/envoy
The following table shows the available Docker tag variants for the latest envoyproxy/envoy images.
variant |
latest stable (amd64/arm64) |
main dev (amd64/arm64) |
---|---|---|
envoy (default) |
||
contrib |
||
distroless |
||
debug |
||
contrib-debug |
||
tools |
envoyproxy/envoy-build-ubuntu
Build images are always versioned using their commit SHA, which is in turn committed to the Envoy repository to ensure reproducible builds.
variant |
latest (amd64/arm64) |
---|---|
envoy-build-ubuntu (default) |
|
envoy-build-ubuntu:mobile |
Note
The envoy-build-ubuntu
image does not contain a working Envoy server, but can be used for
building Envoy and related containers.
This image requires 4-5GB of available disk space to use.