Skip to content

Instantly share code, notes, and snippets.

@bahrmichael
Last active January 2, 2016 17:33
Show Gist options
  • Save bahrmichael/d987785dadcd414f8777 to your computer and use it in GitHub Desktop.
Save bahrmichael/d987785dadcd414f8777 to your computer and use it in GitHub Desktop.
Assuming you are running an Ubuntu 14.04. Do all the following as root.
1. Install Docker: curl -sSL https://get.docker.com/ | sh
2. Download and start webserver with: docker run -d -p 80:80 --name webserver tutum/nginx
3. Access the webserver at: <IP> (e.g. 172.17.0.45)
4. See a hello world message (with tutum logo above).
5. Access it multiple times from different devices.
6. Shut down the webserver with: docker rm -f webserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment