From 19e61216c64febc7d36f90e4f789325d53950c99 Mon Sep 17 00:00:00 2001 From: Nilesh Londhe Date: Wed, 24 Aug 2016 06:21:39 -0700 Subject: [PATCH] Fix documentation on docker image to say you must build before running (#1987) * Can not run before building unless you provide a library/powershell image * Update docker.md --- docs/installation/docker.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/installation/docker.md b/docs/installation/docker.md index 31d00a0cde..8de9b58412 100644 --- a/docs/installation/docker.md +++ b/docs/installation/docker.md @@ -1,15 +1,6 @@ Docker ====== -If you are using Docker, there is a very simple way to try PowerShell: - -``` -docker run -it powershell -``` - -This Docker image is based on Ubuntu 16.04, and follows the instructions from the [Linux Installation docs][u16]. -[u16]: linux.md#ubuntu-1604 - Build ===== @@ -18,3 +9,14 @@ If you want to build it yourself: docker build -t powershell . ``` +Run +=== + +After you have built using Docker, running PowerShell very simple: + +``` +docker run -it powershell +``` + +This Docker image is based on Ubuntu 16.04, and follows the instructions from the [Linux Installation docs][u16]. +[u16]: linux.md#ubuntu-1604