Skip to content

Commit 83b7549

Browse files
authored
Merge pull request #273 from mihaibuzgau/master
CLOUD-2011 - update readme for Windows Support
2 parents 43cbaeb + 408131d commit 83b7549

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232

3333
## Overview
3434

35-
The Puppet docker module installs, configures, and manages [Docker](https://github.com/docker/docker) from the [Docker repository](https://docs.docker.com/installation/). It supports the latest [Docker CE (Community Edition)](https://www.docker.com/community-edition) as well as legacy releases.
35+
The Puppet docker module installs, configures, and manages [Docker](https://github.com/docker/docker) from the [Docker repository](https://docs.docker.com/installation/). It supports the latest [Docker CE (Community Edition)](https://www.docker.com/community-edition) for Linux based distributions and [Docker EE(Enterprise Edition)](https://www.docker.com/enterprise-edition) for Windows and Linux as well as legacy releases.
36+
3637

3738
## Description
3839

@@ -195,6 +196,13 @@ class { 'docker':
195196
}
196197
```
197198

199+
Only Docker EE is supported on Windows. To install docker on Windows 2016 and above the `docker_ee` parameter must be specified:
200+
```puppet
201+
class { 'docker':
202+
docker_ee => true
203+
}
204+
```
205+
198206
## Usage
199207

200208
### Images
@@ -386,6 +394,14 @@ docker::run { 'helloworld':
386394
restart_on_unhealthy => true,
387395
```
388396

397+
To run command on Windows 2016 requires the `restart` parameter to be set:
398+
```puppet
399+
docker::run { 'helloworld':
400+
image => 'microsoft/nanoserver',
401+
command => 'ping 127.0.0.1 -t',
402+
restart => 'always'
403+
```
404+
389405
### Networks
390406

391407
Docker 1.9.x supports networks. To expose the `docker_network` type that is used to manage networks, add the following code to the manifest file:

0 commit comments

Comments
 (0)