Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
- Fix links to `docker-only-with-persistent-storage.txt`
- Update command example to include `examples/` dir prefix
  • Loading branch information
thiagocaiubi authored and AntonioMeireles committed Sep 12, 2017
1 parent 43d63ee commit a180a1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit a180a1b

Please sign in to comment.