mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-16 07:51:24 +00:00
tools: Add initial HyperKit/Moby InfraKit instance plugin
This is the first cut of a InfraKit instance plugin which primarily allows one to manage Moby instances (though, other Linux's may work too). It's very rough on the edges and needs work and update to handle templates and better configuration etc. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
28
tools/infrakit.hyperkit/hyperkit.json
Normal file
28
tools/infrakit.hyperkit/hyperkit.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"ID": "cattle",
|
||||
"Properties": {
|
||||
"Allocation": {
|
||||
"Size": 1
|
||||
},
|
||||
"Instance": {
|
||||
"Plugin": "instance-hyperkit",
|
||||
"Properties": {
|
||||
"Moby": "default",
|
||||
"Note": "Instance properties version 1.0"
|
||||
}
|
||||
},
|
||||
"Flavor": {
|
||||
"Plugin": "flavor-vanilla",
|
||||
"Properties": {
|
||||
"Init": [
|
||||
"docker pull nginx:alpine",
|
||||
"docker run -d -p 80:80 nginx-alpine"
|
||||
],
|
||||
"Tags": {
|
||||
"tier": "web",
|
||||
"project": "infrakit"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user