docker icon indicating copy to clipboard operation
docker copied to clipboard

I had a permission problem when I mounted the data volume. Trying to specify a user also didn't work.

Open imaxun opened this issue 1 year ago • 4 comments

image image

imaxun avatar Dec 04 '23 13:12 imaxun

I hope to get help

imaxun avatar Dec 04 '23 13:12 imaxun

I don't recognize the format of your YAML file, but in my own docker-compose.yaml:

services:
  web:
    # This seems similar to your volumeMounts and lets the container mount the volume
    volumes:
      - odoo-data:/var/lib/odoo
# This creates the volume
volumes:
  odoo-data:
    # Nothing here as I am creating a volume from scratch

Are you missing the second part?

amh-mw avatar Dec 04 '23 13:12 amh-mw

I installed it using k8s

imaxun avatar Dec 08 '23 16:12 imaxun

Did you solve it? I don't install it using K8S, but I think it would be the same.

SmartPhoneLover avatar Jan 29 '24 14:01 SmartPhoneLover