## Using with Docker A [Docker image](https://hub.docker.com/r/stripe/stripe-cli) allows you to run the Stripe CLI in a container. You can set two environment variables that the CLI will use: - `STRIPE_API_KEY`: the API key to use for the CLI. - `STRIPE_DEVICE_NAME`: 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.