You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Just playing around with Lima for the first time and having trouble mounting directories using the stock Postgres image - raising here since it doesn't look like Postgres is doing anything too wild so it may be a lima bug?
Reproduction
mkdir -p /tmp/lima/pgdata
lima nerdctl run -v "/tmp/lima/pgdata:/var/lib/postgresql/data" postgres:13
#=> chown: changing ownership of '/var/lib/postgresql/data': Permission denied
Looking at the postgres dockerfile, it creates the directory and CHOWNs it, and then declares the VOLUME afterwards - nothing else in the file seems immediately relevant.
Lima version 0.8.0
Mounts in lima.yaml:
# Expose host directories to the guest, the mount point might be accessible from all UIDs in the guest# Default: nonemounts:
- location: "~/Projects"# CAUTION: `writable` SHOULD be false for the home directory.# Setting `writable` to true is possible, but untested and dangerous.writable: true
- location: "/tmp/lima"writable: true
The text was updated successfully, but these errors were encountered:
Hi! Just playing around with Lima for the first time and having trouble mounting directories using the stock Postgres image - raising here since it doesn't look like Postgres is doing anything too wild so it may be a lima bug?
Reproduction
Looking at the postgres dockerfile, it creates the directory and CHOWNs it, and then declares the
VOLUME
afterwards - nothing else in the file seems immediately relevant.Lima version 0.8.0
Mounts in
lima.yaml
:The text was updated successfully, but these errors were encountered: