README.md in kitchen-docker-0.1.3 vs README.md in kitchen-docker-0.2.0
- old
+ new
@@ -12,10 +12,28 @@
## <a name="installation"></a> Installation and Setup
Please read the [Driver usage][driver_usage] page for more details.
+Example `.kitchen.local.yml`:
+
+```
+---
+driver_plugin: docker
+
+platforms:
+- name: ubuntu
+ run_list:
+ - recipe[apt]
+- name: centos
+ driver_config:
+ image: "centos"
+ platform: "rhel"
+ run_list:
+ - recipe[yum]
+```
+
## <a name="config"></a> Configuration
### <a name="config-image"></a> image
The Docker image to use as the base for the suite containers. You can find
@@ -46,9 +64,26 @@
be passed the the install.sh script. Subsequent converges will skip if
the installed version and the desired version match.
* `false` or `nil` - no chef is installed.
The default value is `true`.
+
+### <a name="config-forward"></a> forward
+
+Suite container port(s) to forward to the host machine. You cannot
+specify the host port in the mappings, Docker does this for you.
+
+Examples:
+
+```
+forward: 8080
+```
+
+```
+forward:
+- 22
+- 80
+```
## <a name="development"></a> Development
* Source hosted at [GitHub][repo]
* Report issues/questions/feature requests on [GitHub Issues][issues]