Docker
Using with Docker A Docker image allows you to run the Stripe CLI in a container. You can set two environment variables that the CLI will use: -
Last verified 2026-09-24
Is this helpful?
the related setting: the API key to use for the CLI. - the related setting: the device name for the CLI, visible in the Dashboard. Since Docker containers are ephemeral, stripe-cli login cannot be used without defining a data volume. You can use the --api-key flag instead.Is this helpful?