caddy-docker-api-auth

command module
v0.0.0-...-eb519e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 13 Imported by: 0

README

docker-api-auth

Standalone reverse proxy for the Docker API with ACL-based authentication.

Uses Go's httputil.ReverseProxy to proxy requests to the Docker socket, with proper support for connection hijacking (docker run, docker exec).

Usage

docker-api-auth --acl acl.yml --listen :3004 --docker-socket /var/run/docker.sock
Flags
Flag Default Description
--acl (required) Path to ACL YAML file
--listen :3004 Listen address
--docker-socket /var/run/docker.sock Path to Docker socket

ACL configuration

See example/acl.yml.

Authentication

Requests must include X-Docker-Auth-Username and X-Docker-Auth-Password headers.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL