- Vim is installed inside the image. Which was actually a waste of space. *
You need to give web root folder with -v parameter
"docker run -d -v /path/to/webroot:/var/www/html navelist/my_little_phpserver"
To make https server, I recommend with you to combine it with two other image made for that purpose