Skip to content

Use of dev user causing permissions issues #1

Description

@md5

This looks like a nice Vim image, but I'm not sure why you're using USER dev. It's causing issues when I try to use the container like so:

$ docker run -it --rm --volumes-from wordpress -w /var/www/html haron/vim vim wp-config.php

When I try to save, it gives me an error because the file has been opened in read-only mode due to the fact that it runs as dev and the file is not writable by that user.

I can work around it like so:

    $ docker run -it --rm --volumes-from wordpress -w /var/www/html -u root haron/vim vim wp-config.php

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