From a38919ff5bdbb0125aec7e5d8f044723ddc1416e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Thu, 24 Mar 2016 14:12:00 +0100 Subject: [PATCH] Minor fixes after Munich workshop --- www/htdocs/index.html | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/www/htdocs/index.html b/www/htdocs/index.html index 5f4f0c2c..ed4c6682 100644 --- a/www/htdocs/index.html +++ b/www/htdocs/index.html @@ -3518,18 +3518,23 @@ Let's inspect the source code of `build-tag-push.py` and run it. .icon[![Warning](warning.png)] Make sure to run it against a single node! +.icon[![Warning](warning.png)] Make sure to use the original Compose file! + +.small[(We don't want the scaled RNG service, the custom logging driver, etc.)] + .exercise[ -- Point to a single node: -
`eval $(docker-machine env node1)` - -- Run the script (from the `bin` directory): -
`../bin/build-tag-push.py` - -- Inspect the `docker-compose.yml-XXX` file that it created +- Run `build-tag-push.py`: + ``` + eval $(docker-machine env node1) + git checkout docker-compose.yml + ../bin/build-tag-push.py + ``` ] +Inspect the `docker-compose.yml-XXX` file that it created. + --- ## Can we run this now? @@ -4844,7 +4849,7 @@ class: pic .exercise[ -- Add the `rng` network to the Dockerfile: +- Add the `rng` network to the Compose file: ``` version: '2'