From a180a1bff84da47e5f2babd3d1a912f1ab26743c Mon Sep 17 00:00:00 2001 From: Thiago Caiubi Date: Sun, 21 May 2017 08:41:31 -0300 Subject: [PATCH] Update README.md - Fix links to `docker-only-with-persistent-storage.txt` - Update command example to include `examples/` dir prefix --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 90ba2d6..1dbf448 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ Accessing the newly created CoreOS instance is just a few more clicks away... ``` above, we labeled our volume `rkthdd` which is the *signature* that our - [*recipe*](cloud-init/docker-only-with-persistent-storage.txt) expects. + [*recipe*](examples/cloud-init/docker-only-with-persistent-storage.txt) expects. >by relying in *labels* for volume identification we get around the issues we'd >have otherwise if we were depending on the actual volume name (/dev/vd...) as @@ -171,12 +171,12 @@ Accessing the newly created CoreOS instance is just a few more clicks away... ``` ❯❯❯ UUID=deadbeef-dead-dead-dead-deaddeafbeef \ corectl run --volume absolute_or_relative_path/to/persistent.img \ - --cloud_config cloud-init/docker-only-with-persistent-storage.txt \ + --cloud_config examples/cloud-init/docker-only-with-persistent-storage.txt \ --cpus 2 --memory 2048 --name containerland ``` this will start a VM named `containerland` with the volume we created previously attached, 2 virtual cores and 2GB of RAM. The - provided [cloud-config](cloud-init/docker-only-with-persistent-storage.txt) + provided [cloud-config](examples/cloud-init/docker-only-with-persistent-storage.txt) will format the given volume (if it wasn't yet) and bind mount both ``/var/lib/rkt` and `/var/lib/docker` on top of it. docker will also become available through socket activation.