Skip to content

Instantly share code, notes, and snippets.

@deepak1556
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deepak1556/11061cc9731dc03b4268 to your computer and use it in GitHub Desktop.
Save deepak1556/11061cc9731dc03b4268 to your computer and use it in GitHub Desktop.
Rocket Volume Spec
App1.aci:
```
{
"mountPoints": [
{
"name": "A",
"path": "/app1/a"
},
{
"name": "B",
"path": "/app1/b"
}
]
}
```
App2:
```
{
"mountPoints": [
{
"name": "A",
"path": "/app2/a"
}
]
}
```
App3:
```
{
"mountPoints": [
{
"name": "B",
"path": "/app3/b"
}
]
}
```
rkt run -volume A:/opt/lib/A -volume B:/opt/lib/B App1.aci App2.aci App3.aci
will this generate a container manifest like this one ?:
```
{
... app details goes here
"volumes": [
{
"kind": "host",
"source": "/opt/lib/A",
"fulfills": [
"A"
]
},
{
"kind": "host",
"source": "/opt/lib/B",
"fulfills": [
"B"
]
}
]
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment