Skip to content

Commit

Permalink
Add notice how to copy vhd with azure cli
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
  • Loading branch information
StefanScherer committed Jan 28, 2017
1 parent e164434 commit 161d87c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions AZURE.md
Expand Up @@ -127,3 +127,16 @@ Load your secrets and run the packer build
eval $(pass packer-azure)
packer build windows_2016_docker_azure.json
```

## Copy vhd

### Create a public container

Create a public container, eg. `vhds`

### Copy blob

```
azure storage blob copy start https://myaccount.blob.core.windows.net/system/Microsoft.Compute/Images/images/WindowsServer2016Docker-osDisk.vhd vhds
azure storage blob copy start https://myaccount.blob.core.windows.net/system/Microsoft.Compute/Images/images/WindowsServer2016Docker-osDisk.vhd --dest-container vhds --dest-blob WindowsServer2016Docker.20170122-osDisk.vhd
```

0 comments on commit 161d87c

Please sign in to comment.