2024-12-18, 05:02 PM
(This post was last modified: 2024-12-18, 05:08 PM by theguymadmax. Edited 1 time in total.)
You don't have permission to access the specified locations. To resolve this, I recommend the following steps:
1. Create a Docker Folder in Your Home Directory:
Set up a dedicated directory for your Docker containers and their associated data inside your home directory. This way, you will have full control over the directories and avoid permission issues. Make sure folder are created prior to running docker compose up -d.
Directory Structure:
2. Update Your docker-compose.yml File:
Modify the volumes section in your docker-compose.yml to point to the new directories you created in your home directory.
Original:
Updated:
1. Create a Docker Folder in Your Home Directory:
Set up a dedicated directory for your Docker containers and their associated data inside your home directory. This way, you will have full control over the directories and avoid permission issues. Make sure folder are created prior to running docker compose up -d.
Directory Structure:
- /home/pete/Docker/
- /home/pete/Docker/Jellyfin/
- /home/pete/Docker/Jellyfin/config/
- /home/pete/Docker/Jellyfin/cache/
- /home/pete/Docker/Jellyfin/docker-compose.yml
2. Update Your docker-compose.yml File:
Modify the volumes section in your docker-compose.yml to point to the new directories you created in your home directory.
Original:
Code:
volumes:
- /var/snap/docker/common/var-lib-docker/volumes/jellyfin-config:/var/log/docker/jellyfin/config
- /var/snap/docker/common/var-lib-docker/volumes/jellyfin-cache:/var/log/docker/jellyfin/cache
Updated:
Code:
volumes:
- /home/pete/Docker/Jellyfin/config:/config
- /home/pete/Docker/Jellyfin/cache:/cache