sniffer

command
v0.0.0-...-274d15d Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

README

Sniffer

Sniffer simplifies the implementation of the Docker API.

It is sitting as a HTTP proxy (127.0.07:23755 -> 127.0.0.1:2375) in between dockerd and a docker client.

The endpoint 127.0.0.1:2375 needs to be enabled for dockerd.

It prints requests and responses to stdout.

Example

Terminal 1

go run ./hack/sniffer.go

Terminal 2

DOCKER_HOST=tcp://127.0.07:23755 docker build .

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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