summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2021-04-20 11:38:24 +0200
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2021-04-22 09:29:59 +0200
commitc791da6828af21ae22c53eedfa9eabf040f6f241 (patch)
tree507d56882f7dabddaa75d52d36ef3bdc5a67948b /README.md
parent7289e771d0f93dda4b353a9ac3a1f55f5a375938 (diff)
doc: Add instructions on using Docker to build sq.
- This shows how to use Docker to build both sq and sqv. - Attached example show how to use the image to do basic operations using sq container.
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9c5b58de..b76e57a8 100644
--- a/README.md
+++ b/README.md
@@ -197,6 +197,23 @@ the C API.
these add `PYTHON=disable` to all `make` invocations. E.g. `make
PYTHON=disable`.
+Using Docker
+------------
+
+Command line tools can also be built using Docker:
+
+```shell
+$ docker build -t sq .
+$ docker run --rm -i sq --help
+```
+
+For example retrieving a certificate and inspecting its contents:
+
+```shell
+$ docker run --rm -i sq keyserver get 653909A2F0E37C106F5FAF546C8857E0D8E8F074 > cert.asc
+$ docker run --rm -i sq packet dump < cert.asc
+```
+
## Requirements
To build Sequoia, you need at least Rust 1.48 and a few libraries,