Merge pull request #17 from mrkz/ciao_deploy_readme_map_dev

ciao-deploy: update documentation to use privileged container
This commit is contained in:
Obed N Munoz
2016-11-15 11:17:32 -06:00
committed by GitHub
+11 -2
View File
@@ -36,7 +36,8 @@ documentation.
Run the Ciao-deploy Container
----------------------------
```
docker run -v $(pwd)/ciao:/root/ciao \
docker run --privileged -v /dev/:/dev/ \
-v $(pwd)/ciao:/root/ciao \
-it clearlinux/ciao-deploy
```
@@ -45,11 +46,19 @@ If you have setup your ssh key for the ansible setup, you may want to use it
in your ciao-deploy container:
```
docker run -v $(pwd)/ciao:/root/ciao \
docker run --privileged -v /dev/:/dev/ \
-v $(pwd)/ciao:/root/ciao \
-v /path/to/your/.ssh/key:/root/.ssh/key \
-it clearlinux/ciao-deploy
```
**Note**:
The cotainer needs `privileged -v /dev/:/dev/` in order to install
your certificates in the
[CNCI image](https://github.com/01org/ciao/tree/master/networking/ciao-cnci-agent#cnci-agent).
To learn more about the Docker options used, please refer to the
[Docker* documentation](https://docs.docker.com/engine/reference/commandline/run/).
Extra Build ARGs
----------------