Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Testing on early Ubuntu 23.04 with running app in lxc failed due to missing directory /var/lib/lxc/foo/mnt
  • Loading branch information
HelDevNull authored Mar 29, 2023
1 parent 3204c11 commit da429bf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,15 @@ Uncomment the one you need, see the host's dmesg when `lxc-start` fails
with mysterious error messages. For convenience the Debian/Ubuntu is
uncommented already.

> **Note:** you may have to add the following two lines to your AppArmor

> **Note1:**
> You may have to create the directory where to mount the container rootfs
> as it is configured in /var/lib/lxc/foo/config on line 11
> ```sh
> $ sudo mkdir -p /var/lib/lxc/foo/mnt
> ```
> **Note2:** you may have to add the following two lines to your AppArmor
> profile to enable writable /etc, /var, /home, and /root directories.
> The file is in `/etc/apparmor.d/lxc/lxc-default-with-mounting`:
> ```
Expand Down

0 comments on commit da429bf

Please sign in to comment.