diff --git a/README.md b/README.md index 69d904b..2dce459 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,6 @@ Allow 8080 through the firewall Field | Input | Note | | ----- | ----- | ----- | | Name | postgresql | | -| Owner | `` | | | Image | docker.io/library/postgres:18 | | | Restart Policy | always | Only shows for non-root if linger is enabled | Volume | /opt/cloud/database -> /var/lib/postgresql | Writable and Private | @@ -39,7 +38,6 @@ Allow 8080 through the firewall | Field | Input | Note | | ----- | ----- | ----- | | Name | nextcloud | | -| Owner | `` | | | Image | docker.io/library/nextcloud:latest | | | Restart Policy | always | Only shows for non-root if linger is enabled | Volume | /opt/cloud/nextcloud -> /var/www/html | Writable and Private | @@ -47,14 +45,22 @@ Allow 8080 through the firewall ## Migrate Containers to Quadlets -Stop Containers +### Stop and Remove Containers + +### Create Volumes `podman volume create postgresql-data` + `podman volume create nextcloud-data` +### Move data to volumes + `podman unshare mv /opt/cloud/database/* ~/.local/share/containers/storage/volumes/postgresql-data/_data/` + `podman unshare mv /opt/cloud/nextcloud/ ~/.local/share/containers/storage/volumes/nextcloud-data/_data/` +### Create container configs + `mkdir -p ~/.config/containers/systemd/` `nano ~/.config/containers/systemd/cloud.pod`