docs: Add a PowerShell example (#50)

thanks @PramodKumarYadav for the hint

Closes #44
This commit is contained in:
Julien BIANCHI 2020-07-23 22:42:16 +02:00 committed by GitHub
parent 03ab873e22
commit 8cbae63adf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,11 @@
Considering the current working directory is where your `docker-compose.yml` file is located: Considering the current working directory is where your `docker-compose.yml` file is located:
``` ```bash
docker run --rm -it --name dcv -v $(pwd):/input pmsipilot/docker-compose-viz render -m image docker-compose.yml docker run --rm -it --name dcv -v $(pwd):/input pmsipilot/docker-compose-viz render -m image docker-compose.yml
# PowerShell
docker run --rm -it --name dcv -v ${pwd}:/input pmsipilot/docker-compose-viz render -m image docker-compose.yml
``` ```
This will generate the `docker-compose.png` file in the current working directory. This will generate the `docker-compose.png` file in the current working directory.