Skip to content

Instantly share code, notes, and snippets.

@ripienaar
Created April 23, 2015 10:20
Show Gist options
  • Select an option

  • Save ripienaar/8fc6ccac6de9148e223c to your computer and use it in GitHub Desktop.

Select an option

Save ripienaar/8fc6ccac6de9148e223c to your computer and use it in GitHub Desktop.
$ docker run -d -p 8080:80 --name decci dell/lamp-base
$ echo test|docker exec decci tee /var/www/html/index.html
$ curl http://localhost:8080/
test
$ docker kill decci
$ docker rm decci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment