[Docker Directory Location] Migrated from .img to directory causing filesystem permission issue (mariaDB)


Recommended Posts

Hi Guys,

 

I change my docker location from btrfs-image to directory and restored all my instances accordingly to the official restoring guide. 

Setting up the MariaDB container is causing the following issue: 

 

Command:
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='mariadb' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -e 'MYSQL_ROOT_PASSWORD'='20Sjadsn' -p '3306:3306/tcp' -v '/mnt/user/appdata/mariadb':'/config':'rw' 'linuxserver/mariadb'
9767a34500f95fef1a159c923c44c4d09862c2c47902cba3996a864d367eb352
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "/init": permission denied: unknown.

The command failed.

 

What I already tried:

 

  1. A clean setup of MariaDB from Community Apps with the same result. 
  2. Fix filesystem permissions from Unraid Tools 
  3. Reboot the server.


 

tower-diagnostics-20210622-1310.zip

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.