Created
February 23, 2016 08:06
-
-
Save onjin/3732dfaaba152011ad15 to your computer and use it in GitHub Desktop.
list all running nginx virtual hosts on docker created using https://github.com/jwilder/nginx-proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # list all running nginx virtual hosts on docker created using | |
| # `https://github.com/jwilder/nginx-proxy` | |
| docker inspect --format '{{ index (index .Config.Env) 1 }}' $(docker ps -q) | grep VIRTUAL_HOST | cut -d\= -f 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment