resources/docker/README.md
This directory contains two Dockerfile definitions, one is a pure Go image based on busybox (Dockerfile), the other (Dockerfile.cgo) is a CGO enabled build based on debian.
The image has a default config but it's not particularly useful, so you'll either want to use the -s cli flag to define config values or copy a config into the path /connect.yaml as a volume.
# Using a config file
docker run --rm -v /path/to/your/config.yaml:/connect.yaml ghcr.io/redpanda-data/connect
# Using a series of -s flags
docker run --rm -p 4195:4195 ghcr.io/redpanda-data/connect \
-s "input.type=http_server" \
-s "output.type=kafka" \
-s "output.kafka.addresses=kafka-server:9092" \
-s "output.kafka.topic=benthos_topic"