mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-11-02 11:52:03 +01:00
Merge pull request #4 from kmpm/features/windows-docker-example
Added example for how to runcontainer using Windows PowerShell
This commit is contained in:
commit
dcaf982da3
@ -28,8 +28,14 @@ $ docker build -t vyos-docu - < Dockerfile
|
||||
|
||||
### Build Documentation
|
||||
|
||||
Linux
|
||||
```bash
|
||||
$ docker run -v `pwd`:`pwd` -w `pwd`/docs -i -t --rm vyos-docu bash
|
||||
```
|
||||
|
||||
Windows PowerShell
|
||||
```powershell
|
||||
docker run -v "$($pwd.path):/vyos" -w "/vyos/docs" -i -t --rm vyos-docu bash
|
||||
```
|
||||
|
||||
Inside the container you can the build the documentation as stated above
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user