Last active
August 29, 2015 14:11
-
-
Save marcy-terui/5f39d460806e3327f793 to your computer and use it in GitHub Desktop.
kitchen-dockerでホストのボリュームをマウントする ref: http://qiita.com/Marcy/items/7f6d32eb0be4ba5bd737
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| driver: | |
| name: docker | |
| driver_config: | |
| use_sudo: false | |
| socket: <%= ENV['DOCKER_HOST'] %> | |
| platforms: | |
| - name: centos-6.5 | |
| suites: | |
| - name: default | |
| driver_config: | |
| volume: | |
| - <%= Dir::pwd %>/host:/var/guest:rw | |
| run_list: | |
| - recipe[pz-postgresql] | |
| attributes: | |
| busser: | |
| sudo: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo docker run -t -i -v /var/host:/var/guest:rw centos /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment