这是indexloc提供的服务,不要输入任何密码
Skip to content

Volumes and permissions #1

@torkelo

Description

@torkelo

I am a docker newbie so please forgive me if these are stupid questions.

I am unable to bind volumes from host to container for graphite, elasticdata or supervisor logs. The crux seems to be permissions. The carbon and graphite run as www-data but if I start docker like your example. The host folder will only be writable by root (and the container docker user) not by www-data.

docker run -v /data/graphite:/var/lib/graphite/storage/whisper
-d nickstenning/graphite

How do you handle permissions for the container process users to write to the host volumes?

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