Skip to content

failed switching to "root" on restart #366

@TiiFuchs

Description

@TiiFuchs

This problem was posted before in #226 I think.

When a Docker container is restarted (like the host server is rebooted or the docker-ce gets updated and restarts everything) every container based on (at least) webdevops/php-nginx:7.4 can't start.
The error message is
error: failed switching to "root": operation not permitted

I use these in production, so it's really annoying to do docker-compose down && docker-compose up -d on every restart of everything (or these containers). I forget it all the time and have downtimes I don't like.

Since it's an awesome package of everything I need for my software, I'd like to continue the use of it, but this error is really annoying.

There was an fix in #333 I guess, but as I read it, it was reverted shortly after. So the problem is still there. (At least for me...)

Any chance we find a fix for it? Sadly I don't understand why this error appears. So I have no idea. :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions