mandarons / icloud-docker

Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
BSD 3-Clause "New" or "Revised" License
1.19k stars 49 forks source link

[BUG] docker creates a volume on host for the /app directory #244

Closed gniting closed 4 months ago

gniting commented 4 months ago

Describe the bug Docker is creating a volume on the host system and mapping it to /app

To Reproduce Steps to reproduce the behavior:

  1. I am using the following docker command (xxxx/yyyy are placeholders)
    docker run -d \
    --name xxxxxx \
    --hostname xxxxxx \
    --network xxxxxx \
    --ip x.x.x.x \
    -v /opt/icloud-nas:/icloud \
    -v /opt/icloud-nas/config:/config \
    -e ENV_CONFIG_FILE_PATH=/config/config.yaml \
    -v /etc/timezone:/etc/timezone:ro \
    -v /etc/localtime:/etc/localtime:ro \
    -v /xxxxx:/media/icloud/drive \
    -v /yyyyy:/media/icloud/photos \
    -e PUID=xxxx \
    -e PGID=xxxx \
    --restart unless-stopped \
    mandarons/icloud-drive

Expected behavior Docker should not create a volume on host

Screenshots image

Configuration N/A

Additional context Add any other context about the problem here.