this post was submitted on 19 May 2025
-10 points (33.3% liked)

Programming

21290 readers
21 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 !webdev@programming.dev



founded 2 years ago
MODERATORS
top 9 comments
sorted by: hot top controversial new old
[–] XM34@feddit.org 11 points 1 month 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.

[–] TheBeege@lemmy.world 9 points 1 month 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?

[–] Docker@lemmy.world 1 points 1 month ago

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

[–] Docker@lemmy.world 0 points 1 month ago (1 children)

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

[–] TheBeege@lemmy.world 3 points 1 month 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?

[–] Docker@lemmy.world 2 points 1 month ago

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 😊😊😊

[–] Zenlix@lemm.ee 7 points 1 month ago

Depends. What should docker do for you?

[–] KindaABigDyl@programming.dev 3 points 1 month ago

All you need is HTML, Javascript, and CSS

[–] verstra@programming.dev 1 points 1 month 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.