Alpine-based image to fix permission issues for OpenList users upgrading to version 4.1.0 and later.
1.0K
This is a lightweight Alpine-based utility image designed to fix permission issues for OpenList users upgrading to version 4.1.0 and later. It automatically changes the ownership of the /opt/openlist/data directory to 1001:1001, which is required by the new OpenList container architecture.
Starting from OpenList v4.1.0 (excluding v4.1.0 itself), the official OpenList Docker image has undergone significant changes:
PUID and PGID environment variablesopenlist user (UID 1001) and group (GID 1001)This change can cause permission issues, especially on NAS devices where Docker doesn't allow running containers with root privileges to modify directory permissions.
1001:1001Run this container before starting OpenList to fix permissions:
# Step 1: Fix permissions using this image
docker run --rm -v /your/openlist/data:/opt/openlist/data axiilay/chown
# Step 2: Start OpenList normally
docker run -d --restart=unless-stopped \
-v /your/openlist/data:/opt/openlist/data \
-p 5244:5244 \
-e UMASK=022 \
--name="openlist" \
openlistteam/openlist:latest
version: '3.8'
services:
chown-fix:
image: axiilay/chown:latest
volumes:
- ./data:/opt/openlist/data
restart: "no"
openlist:
image: openlistteam/openlist:latest
depends_on:
- chown-fix
restart: unless-stopped
volumes:
- ./data:/opt/openlist/data
ports:
- "5244:5244"
environment:
- UMASK=022
Use this image when:
sudo chown or --user root options in your Docker environmentalpine:latestchown 1001:1001 /opt/openlist/data/opt/openlist/data (must match OpenList's data directory)If you still encounter permission issues after using this image:
For issues specific to this utility image, please open an issue on the repository. For OpenList-related questions, refer to the official OpenList documentation and community channels.
This image is a community contribution to help OpenList users with the v4.1.0+ permission migration.
Content type
Image
Digest
sha256:c304665fb…
Size
3.6 MB
Last updated
11 months ago
docker pull axiilay/chown