mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-10 18:03:22 +00:00
I had occasion to use a Moby build of 1.12 on Docker for Mac today and I had to patch this in. Given that we re-added support for 1.12 for cloud, for CS, may as well support on OSX too as we are still doing releases. The fix is a bit messy (hence the flag), as it writes to the file system but we will remove it later, or work around the write if we need to continue to support 1.12 outside the 1.12.x branch. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Build Azure VHD
To create the Azure VHD, the following will be needed:
- An azure account
- A Standard Storage account
- A container (bucket) in the above storage account (private)
- The access key associated with the above storage account
- (opt) the url for the docker version you want to use in the VHD
In your terminal, with docker installed, run the following:
export AZURE_STG_ACCOUNT_NAME="<your-storage-account>"
export AZURE_STG_ACCOUNT_KEY="<your-access-key>"
export CONTAINER_NAME="<a-bucket-name>"
make uploadvhd DOCKER_BIN_URL="<tgz-docker-url>"
The above will output a URL which you can then use to deploy on editions.