rpk container

Manage a local Redpanda container cluster for development and testing. Creates containers using Docker or Podman.

Container clusters are intended for development and testing only. Do not use for production workloads.

Prerequisites

  • Docker or Podman must be installed and running

  • The current user must have permission to run containers

Usage

rpk container [flags]

Subcommands

Command Description

rpk container purge

Stop and remove an existing local container cluster’s data.

rpk container start

Start a local container cluster. This command uses Docker to initiate a local Redpanda container cluster, including Redpanda Console.

rpk container status

Get the status of a local container cluster, including the node IDs, ports, and running state of each broker.

rpk container stop

Stop an existing local container cluster.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.