frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Anyone Using a Mac Studio for Local AI/LLM?

44•UmYeahNo•1d ago•28 comments

Ask HN: Ideas for small ways to make the world a better place

10•jlmcgraw•10h ago•17 comments

Ask HN: Non-profit, volunteers run org needs CRM. Is Odoo Community a good sol.?

2•netfortius•5h ago•1 comments

Ask HN: Non AI-obsessed tech forums

18•nanocat•7h ago•13 comments

Ask HN: 10 months since the Llama-4 release: what happened to Meta AI?

43•Invictus0•1d ago•11 comments

AI Regex Scientist: A self-improving regex solver

6•PranoyP•11h ago•1 comments

Ask HN: Who wants to be hired? (February 2026)

139•whoishiring•4d ago•513 comments

Ask HN: Who is hiring? (February 2026)

312•whoishiring•4d ago•511 comments

Tell HN: Another round of Zendesk email spam

104•Philpax•2d ago•54 comments

Ask HN: Is Connecting via SSH Risky?

19•atrevbot•2d ago•37 comments

Ask HN: Why LLM providers sell access instead of consulting services?

4•pera•18h ago•13 comments

Ask HN: Any International Job Boards for International Workers?

2•15charslong•7h ago•2 comments

Ask HN: Has your whole engineering team gone big into AI coding? How's it going?

17•jchung•2d ago•12 comments

Ask HN: What is the most complicated Algorithm you came up with yourself?

3•meffmadd•19h ago•7 comments

Ask HN: How does ChatGPT decide which websites to recommend?

5•nworley•1d ago•11 comments

Ask HN: Is it just me or are most businesses insane?

7•justenough•1d ago•5 comments

Ask HN: Mem0 stores memories, but doesn't learn user patterns

9•fliellerjulian•2d ago•6 comments

Ask HN: Is there anyone here who still uses slide rules?

123•blenderob•3d ago•122 comments

Ask HN: Anyone Seeing YT ads related to chats on ChatGPT?

2•guhsnamih•1d ago•4 comments

Ask HN: Does global decoupling from the USA signal comeback of the desktop app?

5•wewewedxfgdf•1d ago•2 comments

Kernighan on Programming

170•chrisjj•4d ago•61 comments

We built a serverless GPU inference platform with predictable latency

5•QubridAI•2d ago•1 comments

Ask HN: How Did You Validate?

4•haute_cuisine•1d ago•4 comments

Ask HN: Does a good "read it later" app exist?

8•buchanae•3d ago•18 comments

Ask HN: Have you been fired because of AI?

17•s-stude•4d ago•15 comments

Ask HN: Cheap laptop for Linux without GUI (for writing)

15•locusofself•3d ago•16 comments

Ask HN: Anyone have a "sovereign" solution for phone calls?

12•kldg•3d ago•1 comments

Test management tools for automation heavy teams

2•Divyakurian•1d ago•2 comments

Ask HN: OpenClaw users, what is your token spend?

14•8cvor6j844qw_d6•4d ago•6 comments

Ask HN: Has anybody moved their local community off of Facebook groups?

23•madsohm•4d ago•18 comments
Open in hackernews

Ask HN: Should I learn Docker to deploy my app in VPS?

5•danver0•3w ago
for more context, my primary language is javascript, but lately i started learning Golang,in the past i only use normal hosting providers to host my nodejs apps

Comments

uberman•3w ago
Imho, yes.

Installing docker is generally simple. Docker desktop on windows or just follow the steps in the docks for linux.

Reading and using a simple dockerfile is also dead simple.

Understanding compose and port and volume mapping is a bit trickier but not daunting.

Once you have the basics of understanding a dockerfile you can switch to doing container based development in vscode and you will never go back to writing code on your host again.

Vscode is not the only ide that supports this, just the one I use most of the time. There are also docker alternatives like rancher and postman but I still use docker when doing dec work.

Good luck. Bit of beginner advice though. Take time to understand the differences between: build, up, down, stop, start

nacozarina•3w ago
for external cloud I’ve always deployed node.js docker images for aws lambda and had pleasant experience

testing your app as-a-container locally before pushing is a worthwhile check to ensure you don’t have config/startup issues

learning docker is a separate skill, yet is versatile, you can wrap anything in an OCI image

ghoshbishakh•3w ago
Should you learn - yes. Do you really need it - probably not now, but eventually yes. I use it always to set up my dev environment so that the team can have a consistent environment to work on.
codegeek•3w ago
Every developer should learn the basics of Servers, Linux, VPS hosting etc. It is not that hard especially with the amount of information that's online. You mentioned Golang. For those languages, it is even easier because you literally host a single binary on the VPS. So go ahead, learn it. The naysayers will scare you into thinking that you need someone else to do it for you but you usually don't. Not unless you are running an app with mission critical requirements and at scale.It is totally ok to host your own app on a VPS that gets a few hundred requests in a day or even more.

My suggestions:

1. Start with a specific OS on a linux box. Ubuntu is a standard one that you can just start with.

2. Install your application first without docker. If binary (e.g. Golang), you can literally copy the binary (make sure you build it for your OS on the server) and then run it either using something ike supervisor/systemd

3. Then, use a reverse proxy like Caddy in front of it for SSL and actual domain.

4. Get a custom domain from any provider and set the DNS for that domain to point to the IP address of this server.

5. If you want to get real fancy, instead of pointing d0main directly to the IP of the server, get a DNS with cloudflare and point there. Then configure cloudflare to point to the actual server (a.k.a origin server) This way, you get additional benefits like WAF, DDOS protection etc. Even cloudflare free plan offers this with some limits.

Then repeat the process in 2,3 but with docker container.

You can do all of this easily in ChatGPT etc nowadays by asking:

- I want to install a Go App on an Ubuntu VPS using systemd/supervisor and put Caddy as reverse proxy in front. Then I will want to use a custom domain where DNS is hoted with Cloudflare which ultimately points to Caddy.

It is not that hard. Not to learn at least.

aristofun•3w ago
Yes, it’s still the cheapest and easiest way to deploy small to not so small apps DIY style.