Skip to content

Commit

Permalink
Merge pull request #20 from abergs/patch-1
Browse files Browse the repository at this point in the history
Fixes #19 - makes the readme friendly for newcomers
  • Loading branch information
Ender Barillas committed Jun 16, 2017
2 parents 1c4185e + 6988485 commit 74a8b1e
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
@@ -1,9 +1,19 @@
### Introduction
#### Install a Docker image from the online Package repository

The Docker installer for Windows is now available in an online package repository. They can be found and installed using the Docker provider of PackageManagement (a.k.a. <a href="http://www.oneget.org">OneGet</a>) PowerShell module. The provider needs to be installed before using it. The following PowerShell cmdlets can be used to install the provider.
* Import-Module -Name DockerMsftProvider -Force
* Import-Packageprovider -Name DockerMsftProvider -Force
The Docker installer for Windows is now available in an online package repository. They can be found and installed using the Docker provider of PackageManagement (a.k.a. <a href="http://www.oneget.org">OneGet</a>) PowerShell module. **The provider needs to be installed before using it.** The following PowerShell cmdlets can be used to install the provider.

##### Step 1: Install the OneGet docker provider

1. `Import-Module -Name DockerMsftProvider -Force`
2. `Import-Packageprovider -Name DockerMsftProvider -Force`

##### Step 2: Install Docker
*New installation:*
`Install-Package -Name docker -ProviderName DockerMsftProvider -Verbose`

*Upgrade to the latest version of docker:*
`Install-Package -Name docker -ProviderName DockerMsftProvider -Verbose -Update`

Once the provider is installed and imported, you can search, download, or install Docker using OneGet PowerShell cmdlets:
* Find-Package
Expand Down

0 comments on commit 74a8b1e

Please sign in to comment.