mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-27 03:46:23 +08:00
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
This commit is contained in:
parent
a5c6e4a997
commit
19e61216c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user