Skip to content

thoomson/MyDockerStarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

MyDockerStarter

Just a Dockerfile to deploy an nginx container.

This Dockerfile can be used in combination with my Vagrantfile : https://github.com/thoomson/MyVagrantEnv

How to use it

  1. Install Docker (or use my Vagrantfile) : https://docs.docker.com/install/
  2. Get the Dockerfile (with curl : curl https://raw.githubusercontent.com/thoomson/MyDockerStarter/master/Dockerfile > Dockerfile)
  3. Build the container : sudo docker build -t my-container .
  4. Start the container : sudo docker run -d -p 8080:80 -p 2222:22 my-container
  5. Have fun !

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published