summaryrefslogtreecommitdiffhomepage
path: root/content/docs/user_guide/oci.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/docs/user_guide/oci.md')
-rw-r--r--content/docs/user_guide/oci.md18
1 files changed, 6 insertions, 12 deletions
diff --git a/content/docs/user_guide/oci.md b/content/docs/user_guide/oci.md
index 49b94bdd3..0c539581f 100644
--- a/content/docs/user_guide/oci.md
+++ b/content/docs/user_guide/oci.md
@@ -15,20 +15,16 @@ Now we will create an [OCI][oci] container bundle to run our container. First we
will create a root directory for our bundle.
```bash
-{
- mkdir bundle
- cd bundle
-}
+mkdir bundle
+cd bundle
```
Create a root file system for the container. We will use the Docker hello-world
image as the basis for our container.
```bash
-{
- mkdir rootfs
- docker export $(docker create hello-world) | tar -xf - -C rootfs
-}
+mkdir rootfs
+docker export $(docker create hello-world) | tar -xf - -C rootfs
```
Next, create an specification file called `config.json` that contains our
@@ -36,10 +32,8 @@ container specification. We will update the default command it runs to `/hello`
in the `hello-world` container.
```bash
-{
- runsc spec
- sed -i 's;"sh";"/hello";' config.json
-}
+runsc spec
+sed -i 's;"sh";"/hello";' config.json
```
Finally run the container.