Skip to content

Rootless container #130

@DorianHawkmoon

Description

@DorianHawkmoon

Hi! Jump user here for some time and I'm moving to docker. Loving the simplicity.
I'm trying to follow security measures and I start the container as a non root user, using in the dockerfile user: "${UID}:${GID}". (same as using flag --user)

But doing so, it throws the following errors

cp: can't create '/var/www/html/./background-css.php': Permission denied
cp: can't create directory '/var/www/html/./cli': Permission denied
cp: can't create directory '/var/www/html/./assets': Permission denied
cp: can't create '/var/www/html/./.jump-version': Permission denied
cp: can't create '/var/www/html/./custom-width-css.php': Permission denied
cp: can't create '/var/www/html/./index.php': Permission denied
cp: can't create '/var/www/html/./config.php': Permission denied
cp: can't create directory '/var/www/html/./classes': Permission denied
cp: can't create directory '/var/www/html/./search': Permission denied
cp: can't create directory '/var/www/html/./vendor': Permission denied
cp: can't create directory '/var/www/html/./translations': Permission denied
cp: can't create '/var/www/html/./composer.lock': Permission denied
cp: can't create directory '/var/www/html/./templates': Permission denied
cp: can't create '/var/www/html/./composer.json': Permission denied
cp: can't create directory '/var/www/html/./sites': Permission denied

Any way of changing users? Will you consider this change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions