This will download the ShareLaTeX image and start it running in the background on port 80. You should be able to access it at http://localhost/.
This will download the ShareLaTeX image and start it running in the background on port 5000. You should be able to access it at http://localhost:5000/.