this post was submitted on 19 May 2025
-8 points (35.7% liked)

Programming

20458 readers
105 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 2 weeks ago

Docker is (simplified) a VM built from a single file. You can use it to host your website on a server that runs a docker daemon (pretty much guarantied nowadays). But it won't be useful in developing the website itself.

But seriously, this sounds so much like a ChatGPT promt, why didn't you ask that in the first place.

[–] [email protected] 11 points 2 weeks ago (2 children)

I'll give a more detailed answer.

Docker doesn't help you in the development of the website. Docker helps you with the deployment of the website.

The purpose of Docker is to give you a consistent environment. When you create a Docker "image," that image includes all of the files and software required to run the website. Then on some computer accessible by the public internet, you can just download that "image" and run your website using a "container" created from the image.

You can think of the image as the blueprint of all the bits and pieces needed to run your website. The container is basically all those pieces put into action to actually run the website.

Now, depending on your website, you may not even need Docker. If it's frontend-only, you could use some service like Vercel, where you don't even need Docker.

Can you share more info about your current level of knowledge and the website you want to make?

[–] [email protected] 1 points 2 weeks ago

Thank you very much 😊😊...... That's a very detailed and precise answer to my question.

[–] [email protected] 0 points 2 weeks ago (1 children)

I wish to create a website promoting a tourist destination in general, in relation to a particular homestay in that area.

[–] [email protected] 4 points 2 weeks ago (1 children)

Okay, but what's your current level of web development knowledge?

And if I'm understanding your website properly, it seems like you don't have any kind of user generated content, yes? And if there were updates to the site, you would just make them yourself? If this is the case, then it sounds like frontend-only, and you can probably just use Vercel. If you're going super simple, maybe even Github Pages would work.

Alternatively, is there any reason you're not using a site builder like Wix or Squarespace?

[–] [email protected] 2 points 2 weeks ago (1 children)

Honestly, l'm at level 0 as far as even coding is concerned. This l wish to promote a certain homestay, so GitHub pages takes the focus away. Updates l'll do myself. However, a section on comments by the users would definitely add value.

I prefer to slog it out primarily to have some fun. I see it as if a child is painting purely out of his imagination 😊😊😊

[–] [email protected] 1 points 2 weeks ago (1 children)

Have a look at this Udemy course, it teaches the HTML coding and website design. They have a sale on the moment too.

[–] [email protected] 2 points 1 week ago

Thanks a lot for sharing this link 😃😃

And payable in my currency too😃😃😃

[–] [email protected] 7 points 2 weeks ago

Depends. What should docker do for you?

[–] KindaABigDyl 3 points 2 weeks ago

All you need is HTML, Javascript, and CSS

[–] verstra 1 points 2 weeks ago

I use docker to package and deploy my website. When it is compiled to HTML, I place it into a docker container that is based on nginx.

This container is now easily ported to production server and ran to serve the HTML over HTTP.