Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Fix riak container nested docker mounts
Browse files Browse the repository at this point in the history
Fix docker mounts to allow the riak docker container
to be started nested.
Also note about nested containers in the docs.

Related-bug: #1548851
Related-bug: #1547587

Change-Id: I2fb448ac439b717eae1c3deee2cd067ac8b4f0c7
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
  • Loading branch information
Bogdan Dobrelya committed Mar 2, 2016
1 parent 7c8e19e commit 58683af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion bootstrap/playbooks/riak.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
- file: path=/var/tmp/vagrant state=directory
- copy: src=/vagrant/utils/riak/app.config dest=/var/tmp/vagrant/riak-app.config
- name: start riak container
docker:
name: vagrant_riak_1
image: solarproject/riak
volumes:
- /vagrant/utils/riak/app.config:/etc/riak/app.config
- /var/tmp/vagrant/riak-app.config:/etc/riak/app.config
ports:
- 8087:8087
- 8098:8098
Expand Down
6 changes: 3 additions & 3 deletions doc/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Just update resource::
How can I run solar worker ?
-----------------------------------

- If you use `vagrant` then you can just `sudo start solar-worker`
- If you use `vagrant` then you can just `sudo start solar-worker`
as `vagrant` user.

How can I configure solar ?
Expand All @@ -45,10 +45,10 @@ How can I configure solar ?
There are several places where we search for config values:

1. `.config` file in CWD or in path from `SOLAR_CONFIG` env variable
2. if env `SOLAR_CONFIG_OVERRIDE` contains valid path then it override
2. if env `SOLAR_CONFIG_OVERRIDE` contains valid path then it override
previous values
3. `.config.override` in CWD
4. You can also set upper-cased env variable which matches one of those in
4. You can also set upper-cased env variable which matches one of those in
config

.. _faq_what_database:
Expand Down

0 comments on commit 58683af

Please sign in to comment.