From 54d7c039622e1ca1815d0a9c58328302ca86fd81 Mon Sep 17 00:00:00 2001
From: Ben Little <ben.little@benlittle.dev>
Date: Fri, 6 Aug 2021 13:17:32 -0400
Subject: [PATCH] add doc for JEKYLL_ROOTLESS to README

---
 README.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/README.md b/README.md
index fa47f9f..928349f 100644
--- a/README.md
+++ b/README.md
@@ -54,6 +54,14 @@ docker run --rm \
   jekyll build
 ```
 
+#### Rootless Containers
+
+If you are using a rootless container management system, you can set the `JEKYLL_ROOTLESS` environment variable to any non-zero value. For example, you can use the following to initialize a new jekyll project in the current directory using [`podman`](https://podman.io/).
+
+```sh
+podman run -ti --rm -v .:/srv/jekyll -e JEKYLL_ROOTLESS=1 docker.io/jekyll/jekyll jekyll new .
+```
+
 ## Server
 
 For local development, Jekyll can be run in server mode inside the container. It will watch for changes, rebuild the site, and provide access through its included web server. You can then check the results of changes by reloading http://localhost:4000/ in a browser.
-- 
GitLab