aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-05-13 12:18:37 -0400
committerPaul Duncan <pabs@pablotron.org>2023-05-13 12:18:37 -0400
commit119cccaff0081161c97bc11dbd95c6d9e9d96f6d (patch)
treed22815353429b91f4e08958e28b9593dd29bd992
parenta023a81c78902d5c9999864abba1ba65d8ef1c72 (diff)
downloadpablotron.org-119cccaff0081161c97bc11dbd95c6d9e9d96f6d.tar.bz2
pablotron.org-119cccaff0081161c97bc11dbd95c6d9e9d96f6d.zip
content/posts/2023-05-02-bookworm-and-podman.md: add update about bookworm upgrades and podman migrations
-rw-r--r--content/posts/2023-05-02-bookworm-and-podman.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/content/posts/2023-05-02-bookworm-and-podman.md b/content/posts/2023-05-02-bookworm-and-podman.md
index 8015cb2..e223466 100644
--- a/content/posts/2023-05-02-bookworm-and-podman.md
+++ b/content/posts/2023-05-02-bookworm-and-podman.md
@@ -37,8 +37,36 @@ dependencies, secrets, and volumes.
[Here's a log of the setup process][bookman-gist], and [here's a
screenshot][bookman-shot] of the exposed web interface.
+**Update (2023-05-13):** I upgraded several VMs from [Bullseye][] (and
+one from [Stretch][]!?!) to [Bookworm][], without any significant
+issues.
+
+After upgrading to [Bookworm][], I migrated two VMs from [Docker][] to
+[Podman][] and installed [Podman][] on a third VM. Useful tip:
+[Rootless][rootless containers] [Podman][] does not agree with an
+[NFS][]-mounted home directory.
+
+One workaround is to create a local (that is, non-[NFS][]), user-owned
+directory and then symlink `~/.local/share/containers` to it, like so:
+
+```bash
+# create local containers directory for user pabs,
+# then symlink ~pabs/.local/share/containers to it.
+sudo mkdir -pm 700 /data/containers/pabs && \
+ sudo chown pabs:pabs /data/containers/pabs && \
+ ln -s /data/containers/pabs ~pabs/.local/share/containers
+```
+
+Alternatively, the [Podman man page][] suggests configuring
+`~/.config/containers/storage.conf` and pointing `graphroot` at a local
+directory.
+
[bookworm]: https://www.debian.org/releases/bookworm/
"Debian bookworm."
+[bullseye]: https://www.debian.org/releases/bullseye/
+ "Debian bullseye."
+[stretch]: https://www.debian.org/releases/stretch/
+ "Debian stretch."
[debian]: https://debian.org/
"Debian Linux."
[docker]: https://www.docker.com/
@@ -67,3 +95,7 @@ screenshot][bookman-shot] of the exposed web interface.
"Annotated log of commands to start Bookman with podman-compose."
[bookman-shot]: /files/posts/bookworm-and-podman/bookman.png
"Bookman web interface deployed via podman-compose."
+[nfs]: https://en.wikipedia.org/wiki/Network_File_System
+ "Network File System"
+[podman man page]: https://docs.podman.io/en/latest/markdown/podman.1.html
+ "HTML-formatted man page for podman command."