Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sandbox and container from yaml #124

Merged
merged 2 commits into from
Aug 24, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/examples/container-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"metadata": {
"name": "busybox"
},
"image":{
"image": "busybox"
},
"command": [
"top"
],
"linux": {
}
}
6 changes: 6 additions & 0 deletions docs/examples/container-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
metadata:
name: busybox
image:
image: busybox:latest
command:
- top
10 changes: 10 additions & 0 deletions docs/examples/sandbox-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"metadata": {
"name": "busybox-sandbox",
"namespace": "default",
"attempt": 1,
"uid": "hdishd83djaidwnduwk28bcsb"
},
"linux": {
}
}
8 changes: 8 additions & 0 deletions docs/examples/sandbox-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
metadata:
attempt: 1
name: busybox-sandbox
namespace: default
uid: hdishd83djaidwnduwk28bcsb
linux:
namespaces:
options: {}