@Eai ホストマウントされたディレクトリの所有者が 991 じゃない話?
Conversation
Notices
-
南あかねの外の人(雪餅) (yukimochi@toot.yukimochi.jp@toot.yukimochi.jp)'s status on Sunday, 06-Jan-2019 17:36:28 JST
南あかねの外の人(雪餅)
-
南あかねの外の人(雪餅) (yukimochi@toot.yukimochi.jp@toot.yukimochi.jp)'s status on Sunday, 06-Jan-2019 17:43:16 JST
南あかねの外の人(雪餅)
@Eai
1. docker-compose.yml で、 ./public ディレクトリがコンテナ内と外で、共有されるようになっているはず。 https://github.com/tootsuite/mastodon/blob/master/docker-compose.yml#L54
2. 最初にディレクトリなしで docker-compose up すると public ディレクトリは、 root が所有している状態で作成される。
3. mastodon コンテナでは、 991 ユーザーで実行されるので、権限不足。
4. "sudo chown 991:991 -R public" などで所有者を 991 に。 -
南あかねの外の人(雪餅) (yukimochi@toot.yukimochi.jp@toot.yukimochi.jp)'s status on Sunday, 06-Jan-2019 17:46:11 JST
南あかねの外の人(雪餅)
@Eai docker の場合だけの話ですが、どうなんでしょうね・・・。
In conversation permalink
-