This repository contains Dockerfile of oauth2_proxy for Docker.
-
Install Docker.
-
Download build from public Docker Hub Registry:
docker pull crate/oauth2_proxy
(alternatively, you can build an image from Dockerfile:
docker build -t="crate/oauth2_proxy" github.com/crate/docker-oauth2_proxy
)
create a file <config-dir>/oauth2_proxy.cfg for configuration
docker run -d -p 4180:4180 -v <config-dir>:/conf crate/oauth2_proxy