1, download the hyper files from https://mega.co.nz/#F!mo0xXTRJ!LMViLJRGy2zm--pRVJ6Z_A
2, copy the hyper/config to /var/lib/hyper/config
3, make dir at /var/lib/docker/vbox/images
mkdir -p /var/lib/docker/vbox/images/
4, copy the hyper/100...00.vdi to /var/lib/docker/vbox/images/
5, copy the hyper/base.vdi to /var/lib/docker/vbox/images/temp.vdi
6, register the base vdi via the following command:
vboxmanage clonemedium /var/lib/docker/vbox/images/temp.vdi /var/lib/docker/vbox/images/base.vdi
7, create a file at /var/lib/docker/repositories-vbox,the content of that is :
{"Repositories":{"puller":{"latest":"1000000000000000000000000000000000000000000000000000000000000000"}}}
8, create a file at /var/lib/docker/graph/1000000000000000000000000000000000000000000000000000000000000000/json, its content is:
{"id":"1000000000000000000000000000000000000000000000000000000000000000","parent":"","created":"2015-04-17T22:01:13.062208605Z","container":"","container_config":{},"docker_version":"1.6.0","author":"Jérôme Petazzoni \u003cjerome@docker.com\u003e","config":{"Hostname":"19bbb9ebab4d","Domainname":"","User":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":null,"Cmd":["/bin/sh"],"Image":"1000000000000000000000000000000000000000000000000000000000000000","Volumes":null,"VolumeDriver":"","WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null,"Labels":{}},"architecture":"amd64","os":"linux","Size":0}
9,create a file at /var/lib/docker/graph/1000000000000000000000000000000000000000000000000000000000000000/layersize, its content is:
0
10, create a file at /var/lib/docker/vbox/layers/1000000000000000000000000000000000000000000000000000000000000000, no content
11, run cleanup.sh
in hyper directory
12, run the hyperd
daemon
13, run the hyper
client
Update (This instruction is used for latest code)
1 Download the hyper files
2 Edit the config file with
Root
option, or with default3 Make dir for vbox storage
mkdir -p $HYPER_ROOT/docker/vbox/images/
4 Copy the hyper/100...00.vdi to $HYPER_ROOT/docker/vbox/images/
5 Copy the hyper/base.vdi to $HYPER_ROOT/docker/vbox/images/temp.vdi
6 Create a file at $HYPER_ROOT/docker/repositories-vbox,the content of that is :
{"Repositories":{"puller":{"latest":"1000000000000000000000000000000000000000000000000000000000000000"}}}
7 Create a file at /var/lib/docker/graph/1000000000000000000000000000000000000000000000000000000000000000/json, its content is:
{"id":"1000000000000000000000000000000000000000000000000000000000000000","parent":"","created":"2015-04-17T22:01:13.062208605Z","container":"","container_config":{},"docker_version":"1.6.0","author":"HyperHQ \u003ctalk@hyper.sh\u003e","config":{"Hostname":"19bbb9ebab4d","Domainname":"","User":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"ExposedPorts":null,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":null,"Cmd":["/bin/sh"],"Image":"1000000000000000000000000000000000000000000000000000000000000000","Volumes":null,"VolumeDriver":"","WorkingDir":"","Entrypoint":null,"NetworkDisabled":false,"MacAddress":"","OnBuild":null,"Labels":{}},"architecture":"amd64","os":"darwin","Size":2429728}
8 Create a file at /var/lib/docker/graph/1000000000000000000000000000000000000000000000000000000000000000/layersize, its content is:
2429728
9 Create a file at /var/lib/docker/vbox/layers/1000000000000000000000000000000000000000000000000000000000000000, no content
10 Run the hyperd daemon
./hyperd -v=3 --config=/path/to/config
11 Run the hyper client
./hyper help