From 37413c2f4fb5365021324a0125b2b92e751a1341 Mon Sep 17 00:00:00 2001 From: sadaszewski Date: Mon, 27 Apr 2020 21:08:47 +0200 Subject: [PATCH] Update README.md --- README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/README.md b/README.md index 3895fd1..b01f821 100644 --- a/README.md +++ b/README.md @@ -54,3 +54,48 @@ bsdinstall jail /focker/images/${NAME} zfs set readonly=on zroot/focker/images/${NAME} zfs snapshot zroot/focker/images/${NAME}@1 ``` + +## Usage + +At this point, Focker is ready to use. + +### `focker` command syntax + +``` +focker +|- image +| |- build +| | |- focker_dir +| | `- --tags|-t TAG [...] +| |- tag +| | |- reference +| | `- TAG [...] +| |- untag +| | `- TAG [...] +| |- list +| | `- --full-sha256|-f +| |- prune +| `- remove +| | |- reference +| | `- --remove-dependents|-R +|- jail +| |- create +| |- start +| |- stop +| |- remove +| |- exec +| |- oneshot +| |- list +| |- tag +| |- untag +| `- prune +|- volume +| |- create +| |- prune +| |- list +| |- tag +| `- untag +`- compose + |- build + `- run +```