# Azure CLI container [![Build Status](https://gitea.koszewscy.waw.pl/slawek/azure-cli/actions/workflows/build.yml/badge.svg)](https://gitea.koszewscy.waw.pl/slawek/azure-cli/actions?workflow=build.yml) This repository contains a Dockerfile for building an Azure CLI container image. It is designed to be used as a operating environment for running Azure CLI commands, while providing isolation from the host system. Volume is used to persist home directory data. ## Usage ```text azure-cli (-l|--list) ``` List all containers created by this script. ```text azure-cli [(-a|--account) ] [--user ] [--name ] [--volume :] [--] [ other arguments passed as a command to execute inside the container ] ``` - '--account ': Specifies the account name to be set as an environment variable inside the container. The volume name will be derived from this account name. - '--user ': Specifies the user name to be used inside the container. Default is 'ubuntu'. - '--name ': Specifies the name of the container. Default is sanitized account name. - '--volume :': Binds additional local path to a path inside the container. - '--': Indicates the end of options for the script. Any arguments following this will be passed as a command to execute inside the container.