Skip to content

Conversation

yosifkit
Copy link
Member

If a user mounts a directory to /var/lib/rabbitmq, while using --user on the docker run then they are responsible to set the permissions. This should also help OSX users when sharing a directory from the host:

$ docker run -d -v /Users/...rabbitdir/:/var/lib/rabbitmq/ --user 1000:50 rabbitmq

Replaces #40

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stated again 😄

@tianon
Copy link
Member

tianon commented Jan 18, 2016

LGTM, typo fixed in d9c4635

tianon added a commit that referenced this pull request Jan 18, 2016
Only be root when necessary, so that `--user` works
@tianon tianon merged commit 0ecd5cd into docker-library:master Jan 18, 2016
@tianon tianon deleted the any-user branch January 18, 2016 20:32
tianon added a commit to infosiftr/stackbrew that referenced this pull request Jan 26, 2016
- `cassandra`: 3.2 (docker-library/cassandra#47) - `celery`: 3.1.20 - `mariadb`: resync entrypoint with MySQL (MariaDB/mariadb-docker#37, MariaDB/mariadb-docker#34) - `memcached`: fix SHA1 checking (docker-library/memcached#6) - `mongo`: 3.0.9, conditional chown, configdb (MariaDB/mariadb-docker#78) - `mysql`: fix init failure a bit (docker-library/mysql#134) - `percona`: resync entrypoint with MySQL (docker-library/percona#12) - `php`: update FPM to use `php-fpm.d` for config (docker-library/php#184) - `postgres`: remove EOL 9.0 (docker-library/postgres#122) - `python`: remove EOL 3.2 (docker-library/python#87) - `rabbitmq`: allow for `--user` to work (docker-library/rabbitmq#60) - `rails`: 4.2.5.1 - `redmine`: add SCMs (docker-library/redmine#9) - `rocket.chat`: 0.15.0 (RocketChat/Docker.Official.Image#13) - `ruby`: silence `root` warning (docker-library/ruby#63)
tianon added a commit to infosiftr/stackbrew that referenced this pull request Jan 26, 2016
- `cassandra`: 3.2 (docker-library/cassandra#47) - `celery`: 3.1.20 - `mariadb`: resync entrypoint with MySQL (MariaDB/mariadb-docker#37, MariaDB/mariadb-docker#34) - `memcached`: fix SHA1 checking (docker-library/memcached#6) - `mongo`: 3.0.9, conditional chown, configdb (MariaDB/mariadb-docker#78) - `mysql`: fix init failure a bit (docker-library/mysql#134) - `percona`: resync entrypoint with MySQL (docker-library/percona#12) - `php`: update FPM to use `php-fpm.d` for config (docker-library/php#184) - `postgres`: remove EOL 9.0 (docker-library/postgres#122) - `python`: remove EOL 3.2 (docker-library/python#87) - `rabbitmq`: allow for `--user` to work (docker-library/rabbitmq#60) - `rails`: 4.2.5.1 - `redmine`: add SCMs (docker-library/redmine#9) - `rocket.chat`: 0.15.0 (RocketChat/Docker.Official.Image#13) - `ruby`: silence `root` warning (docker-library/ruby#63)
tianon added a commit to infosiftr/stackbrew that referenced this pull request Jan 26, 2016
- `cassandra`: 3.2 (docker-library/cassandra#47), run as non-root and allow arbitrary `--user` (docker-library/cassandra#48) - `celery`: 3.1.20 - `mariadb`: resync entrypoint with MySQL (MariaDB/mariadb-docker#37, MariaDB/mariadb-docker#34) - `memcached`: fix SHA1 checking (docker-library/memcached#6) - `mongo`: 3.0.9, conditional chown, configdb (MariaDB/mariadb-docker#78) - `mysql`: fix init failure a bit (docker-library/mysql#134) - `percona`: resync entrypoint with MySQL (docker-library/percona#12) - `php`: update FPM to use `php-fpm.d` for config (docker-library/php#184) - `postgres`: remove EOL 9.0 (docker-library/postgres#122) - `python`: remove EOL 3.2 (docker-library/python#87) - `rabbitmq`: allow for arbitrary `--user` (docker-library/rabbitmq#60) - `rails`: 4.2.5.1 - `redmine`: add SCMs (docker-library/redmine#9) - `rocket.chat`: 0.15.0 (RocketChat/Docker.Official.Image#13) - `ruby`: silence `root` warning (docker-library/ruby#63)
RichardScothern pushed a commit to RichardScothern/official-images that referenced this pull request Jun 14, 2016
- `cassandra`: 3.2 (docker-library/cassandra#47), run as non-root and allow arbitrary `--user` (docker-library/cassandra#48) - `celery`: 3.1.20 - `mariadb`: resync entrypoint with MySQL (MariaDB/mariadb-docker#37, MariaDB/mariadb-docker#34) - `memcached`: fix SHA1 checking (docker-library/memcached#6) - `mongo`: 3.0.9, conditional chown, configdb (MariaDB/mariadb-docker#78) - `mysql`: fix init failure a bit (docker-library/mysql#134) - `percona`: resync entrypoint with MySQL (docker-library/percona#12) - `php`: update FPM to use `php-fpm.d` for config (docker-library/php#184) - `postgres`: remove EOL 9.0 (docker-library/postgres#122) - `python`: remove EOL 3.2 (docker-library/python#87) - `rabbitmq`: allow for arbitrary `--user` (docker-library/rabbitmq#60) - `rails`: 4.2.5.1 - `redmine`: add SCMs (docker-library/redmine#9) - `rocket.chat`: 0.15.0 (RocketChat/Docker.Official.Image#13) - `ruby`: silence `root` warning (docker-library/ruby#63)
lag-linaro pushed a commit to lag-linaro/fluentd-docker-image that referenced this pull request Nov 16, 2018
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: docker-library/ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <lee.jones@linaro.org>
lag-linaro pushed a commit to lag-linaro/fluentd-docker-image that referenced this pull request Nov 19, 2018
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: docker-library/ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <lee.jones@linaro.org>
lag-linaro pushed a commit to lag-linaro/fluentd-docker-image that referenced this pull request Nov 23, 2018
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: docker-library/ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <lee.jones@linaro.org>
lag-linaro pushed a commit to lag-linaro/fluentd-docker-image that referenced this pull request Nov 30, 2018
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: docker-library/ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <lee.jones@linaro.org>
lag-linaro pushed a commit to lag-linaro/fluentd-docker-image that referenced this pull request Dec 19, 2018
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: docker-library/ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <lee.jones@linaro.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants