I'm new to using docker though I followed the tutorials to create a nginx web server container and I have a website created in Dreamweaver. I was wanting to know how I can use the virtual web server to host my Dreamweaver site as a test server. Can I just open the kitematic and grab a nginx and place my Dreamweaver file into like the 2048 (game) example on there website?
Asked
Active
Viewed 453 times
2 Answers
0
I think that using a FROM nginx
is a bad idea. NGINX is a service on its own and should run within a docker as a stand-alone.
Your website-docker and your nginx-docker should communicate together using --link <name or id>:alias
.
If you have several websites, you should have several dockers but still only one nginx. So if every websites docker embedded their own nginx that's messy and far away from the best practice...

Auzias
- 3,638
- 14
- 36