Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 979 Bytes

File metadata and controls

27 lines (18 loc) · 979 Bytes

Docker instructions and guides v2.0 (single image)

You need to install docker. !!! ATTENTION DOCKER RUN ON HYPER-V ==> VIRTUALBOX WILL STOP WORKING !!!

Running

  1. First it is recommended to pull the image docker pull se2polito/team-j:latest
  2. Run in terminal docker run --hostname docker-desktop --rm -p 80:80 se2polito/team-j
  3. Cross your fingers
  4. Go to localhost

Building

For building the image you need the Dockerfile

Instructions

  1. Place all the content of this directory at the same level of the github repository directory.
  2. Open terminal and go to directory containing repo, Dockerfile and other files.
  3. Run docker build -t se2polito/team-j:rXXX . where XXX is the TAG (release number)
  4. Take a coffee

Notes

  • main.cf is the postfix configuration file
  • You can find more docker utility commands HERE
  • You can take a tea or whatever you want if you don't like coffee...