Skip to content

Instantly share code, notes, and snippets.

@JoaoVagner
JoaoVagner / 0_reuse_code.js
Created December 14, 2015 13:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
docker inspect -f '{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
#thanks https://stackoverflow.com/questions/17157721/how-to-get-a-docker-containers-ip-address-from-the-host