mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-26 00:12:42 +00:00
Instead pass the directory where to find initrd/vmlinuz via the "Moby" entry in the instance JSON config. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
31 lines
740 B
JSON
31 lines
740 B
JSON
{
|
|
"ID": "cattle",
|
|
"Properties": {
|
|
"Allocation": {
|
|
"Size": 1
|
|
},
|
|
"Instance": {
|
|
"Plugin": "instance-hyperkit",
|
|
"Properties": {
|
|
"Moby": "./vms/default",
|
|
"Disk" : 512,
|
|
"CPUs" : 2,
|
|
"Memory" : 1024
|
|
}
|
|
},
|
|
"Flavor": {
|
|
"Plugin": "flavor-vanilla",
|
|
"Properties": {
|
|
"Init": [
|
|
"docker pull nginx:alpine",
|
|
"docker run -d -p 80:80 nginx-alpine"
|
|
],
|
|
"Tags": {
|
|
"tier": "web",
|
|
"project": "infrakit"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|