From c3ba3ef97abbc154a9acc1b0164a022f48e5fd6e Mon Sep 17 00:00:00 2001 From: Thomas Pelletier Date: Sat, 1 Jan 2022 09:53:14 -0500 Subject: [PATCH] readme: add docker image --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 5dd4fbf..7d7a8dd 100644 --- a/README.md +++ b/README.md @@ -232,6 +232,19 @@ Go-toml provides three handy command line tools: $ tomll --help ``` +### Docker image + +Those tools are also available as a [Docker image][docker]. For example, to use +`tomljson`: + +``` +docker run -i ghcr.io/pelletier/go-toml:v2 tomljson < example.toml +``` + +Multiple versions are availble on [ghcr.io][docker]. + +[docker]: https://github.com/pelletier/go-toml/pkgs/container/go-toml + ## Migrating from v1 This section describes the differences between v1 and v2, with some pointers on