Posts tagged with "DevOps"

Persist the azure cli docker container credentials

I've been using Docker for more development tasks recently. Pulling a new pre-configured image and getting on with what I'm trying to do saves a lot of time. I've lost count of the number of hours I've "lost" chasing version numbers. Downloading files, installing them and then figuring out why it doesn't work isn't fun. When I read you can run the Azure CLI in a Docker container, I decided to use it.

However, authenticating with `az login` every time got old quick. Here's how I managed to persist the azure cli docker container credentials between sessions.

All categories