mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 20:08:14 +00:00
- simplify the process by having the riddler container build the rootfs and config - output tarred up rootfs and config.json as otherwise file ownership not preserved - allow easy build of a collection of container tarballs with another conversion script This makes it easy to choose which container images you want and just convert any set to a initrd image ``` tar cf - container1.tar container2.tar | docker run -i tartar2initrd > initrd.img ``` Next stage will use a manifest to select the ones to add for each edition. 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.