I would like to use Stripe CLI in docker. I have to mention that I am new to docker. I have loaded stripe/stripe-cli from dockerHub.
docker run --rm -it stripe/stripe-cli:latest.
docker image ls also shows me that the image is available locally. But docker ps does not show me a stripe CLI container? Is this right or wrong?
When I run
docker run -it stripe/stripe-cli login
I have to authenticate with Stripe in the browser. This is the output:
Your pairing code is: xxxx-xxxx-xxx-xxxxx
This pairing code verifies your authentication with Stripe.
To authenticate with Stripe, please go to: https://dashboard.stripe.com/stripecli/confirm_auth?t=5ifDAxXxXxXxXxX
⣾ Waiting for confirmation... > Done! The Stripe CLI is configured for Mike's Test Stripe with account id add1_xxx
Please note: this key will expire after 90 days, at which point you'll need to re-authenticate.
My que I do that successfully but I still can't use stripe-cli afterwards? What am I missing?