Skip to content

Instantly share code, notes, and snippets.

@santarinto
Created February 22, 2019 10:14
Show Gist options
  • Save santarinto/a7be92d573b85015d4b98c1f352cfacf to your computer and use it in GitHub Desktop.
Save santarinto/a7be92d573b85015d4b98c1f352cfacf to your computer and use it in GitHub Desktop.
#docker help script
#!/bin/bash
cd ./docker
nginx_ip=`docker-compose exec nginx hostname -I`
nginx_host=`docker-compose exec nginx hostname`
./../manage-etc-hosts.bash remove $nginx_host
docker-compose stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment