From 2aea18e048c9fe47b59c70f1b29ed22a702d273b Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Mon, 8 May 2017 13:47:00 -0700 Subject: [PATCH] Documentation: Add missing mkdir for rkt/docker installation --- Documentation/deployment.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/deployment.md b/Documentation/deployment.md index 548c5501..bc8401c0 100644 --- a/Documentation/deployment.md +++ b/Documentation/deployment.md @@ -251,6 +251,7 @@ Run the container image with rkt. latest or most recent tagged `matchbox` [release](https://github.com/coreos/matchbox/releases) ACI. Trust the [CoreOS App Signing Key](https://coreos.com/security/app-signing-key/) for image signature verification. ```sh +$ mkdir -p /var/lib/matchbox/assets $ sudo rkt run --net=host --mount volume=data,target=/var/lib/matchbox --volume data,kind=host,source=/var/lib/matchbox quay.io/coreos/matchbox:latest --mount volume=config,target=/etc/matchbox --volume config,kind=host,source=/etc/matchbox,readOnly=true -- -address=0.0.0.0:8080 -rpc-address=0.0.0.0:8081 -log-level=debug ``` @@ -261,7 +262,8 @@ Create machine profiles, groups, or Ignition configs by adding files to `/var/li Run the container image with docker. ```sh -sudo docker run --net=host --rm -v /var/lib/matchbox:/var/lib/matchbox:Z -v /etc/matchbox:/etc/matchbox:Z,ro quay.io/coreos/matchbox:latest -address=0.0.0.0:8080 -rpc-address=0.0.0.0:8081 -log-level=debug +$ mkdir -p /var/lib/matchbox/assets +$ sudo docker run --net=host --rm -v /var/lib/matchbox:/var/lib/matchbox:Z -v /etc/matchbox:/etc/matchbox:Z,ro quay.io/coreos/matchbox:latest -address=0.0.0.0:8080 -rpc-address=0.0.0.0:8081 -log-level=debug ``` Create machine profiles, groups, or Ignition configs by adding files to `/var/lib/matchbox`.