#Container has no write permissions to mounted host directory

39 messages · Page 1 of 1 (latest)

pseudo pike
#

Whenever the server tries to execute a mkdir command, it fails with permission denied. It can however read existing files

#

The container is mounted correctly

livid bough
#

Do not use docker in pterodactyl!

pseudo pike
#

And the run container has no write perms seemingly

onyx sedge
#

use docker images for what now?

pseudo pike
#

The base egg

onyx sedge
#

what base egg??

pseudo pike
#

The egg that im running

onyx sedge
#

and that would be?

pseudo pike
#

A modified version of distribution/distribution so it works with pterodactyl (config, etc.)

#

Everythin works

#

Except the write perms in the mount

onyx sedge
#

honestly, this is really difficult for us to support.

pseudo pike
#

What

#

No im not doing that

#

Im running a docker registyr server

onyx sedge
#

you really are going to have to debug this at the docker level

#

asking for help in an entirely custom image you supplied (and hopefully changed the endpoint/user like docs mention) is difficult for us to pinpoint the issue

pseudo pike
#

Is there some way i can just give docker root on my host machine access using wings config or smth else?

onyx sedge
#

you'd get a better chance if you stripped everything in your image, left it bare and tried a basic permissions test

onyx sedge
pseudo pike
#

Oh

onyx sedge
#

pterodactyl containers are run non root by wings

pseudo pike
#

Can i change that?

onyx sedge
#

and if you wish to make your stuff work, you'll likely need to tamper with wings.

pseudo pike
#

The wings config has no option that i found on the wiki

onyx sedge
#

we offer no support for that and you'll need to understand golang

onyx sedge
pseudo pike
#

Well im going to try that option then

#

Thanks!

onyx sedge
#

pterodactyl does not run the server containers as root and never will due to security implications

pseudo pike
#

Yeah, that mkes sense

#

❤️ Thansk for your help nonetheless

bronze bramble
#

Just sounds like you need to set the permissions on /mount/docker_images so the pterodactyl user can write to it

#

Just chown the folder to the UID the containers run as. That's set in the wings config

pseudo pike