Open chris-crone opened 4 years ago
Support for docker <noun> <verb>
syntax e.g. docker container rm
fails as highlighted in issue #9
docker volume [create|inspect|ls|rm]
, at least for creating Azure file shares.
Documentation / examples on how to use the existing docker run --volume user:key@my_share:/absolute/path/to/target ...
would be nice. By trial & error, I discovered for existing Azure file shares this means: docker run --volume <storage account name>:<access key>@<file share in storage account>:/absolute/path/in/both/file_share/and/on/target ...
Also, documentation on how to use existing Azure file shares as volumes in a similar manner in Docker Compose (is this even supported?). And it seems the capability to create named volumes defined in a Compose file would be necessary to support many of the Compose files in existence.
Thanks for the feedback @sujaypillai! I'm curious why you use the <noun> <verb>
syntax? Is this a script or a command that you type?
Regarding volumes :
The creation of azure file shares is quite specific to azure and involves managing storage credentials, selecting storage pricing price plan. It is not available at the moment as a docker command, and you need to create the azure file share either with the azure web console of az
command line.
We'll improve the documentation for using such volumes with ACI. For your information, this part especially is very new and is likely to change in the next updates of this beta release.
Thanks for the feedback @sujaypillai! I'm curious why you use the
<noun> <verb>
syntax? Is this a script or a command that you type?
Its just a habit these days specially with the Management commands and what I have been preaching others too :)
Regarding volumes : The creation of azure file shares is quite specific to azure and involves managing storage credentials, selecting storage pricing price plan. It is not available at the moment as a docker command, and you need to create the azure file share either with the azure web console of
az
command line. We'll improve the documentation for using such volumes with ACI. For your information, this part especially is very new and is likely to change in the next updates of this beta release.
I understand that creating volumes is difficult, but connecting existing Ones is already done! Add the ability to connect via compose, this is very lacking!
Documentation was missing here, we do support volumes in run & compose, connected to Azure file shares. I added this in our doc: https://github.com/docker/docker.github.io/pull/11314
Some of the Docker commands and flags are specific to local development and workflows and so they are not applicable to ACI. Examples include
docker image
commands. There are also commands that we plan to support in the future but just haven't got around to yet.Please let us know if there are commands or flags that you would like to see!