Skip to content

Instantly share code, notes, and snippets.

@brk3
Created December 11, 2017 11:32
Show Gist options
  • Save brk3/10255fed5ec37d8096d4ac23472aff87 to your computer and use it in GitHub Desktop.
Save brk3/10255fed5ec37d8096d4ac23472aff87 to your computer and use it in GitHub Desktop.
#!/bin/bash
docker run --name nginx -v $(pwd):/usr/share/nginx/html:ro \
-v $(pwd)/default.conf:/etc/nginx/conf.d/default.conf:ro -p 8080:80 -d nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment