frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

4•danver0•12h 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•12h 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•12h 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•11h 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•8h 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•7h ago
Yes, it’s still the cheapest and easiest way to deploy small to not so small apps DIY style.

LitePoint clears testing milestone with Qualcomm's upcoming Wi-Fi 8 platform

https://www.rcrwireless.com/20260109/test-measurement/ces-2026-litepoint-clears-testing-milestone...
1•lordwiz•9s ago•0 comments

UI Skills

https://www.ui-skills.com/
1•handfuloflight•1m ago•0 comments

Eat More Deer

https://www.theatlantic.com/health/2026/01/deer-hunting-venison-sale/685537/
2•thunderbong•4m ago•0 comments

The Score

https://www.penguin.co.uk/books/457380/the-score-by-nguyen-c-thi/9780241653975
1•molteanu•5m ago•0 comments

Anthropic: Demystifying Evals for AI Agents

https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
1•Bayram•7m ago•0 comments

New Game Launcher for PC Games

https://www.gamekolektor.com/
1•ravioldevuy•7m ago•1 comments

Show HN: MCP for browsing, searching, exporting, backing up Cursor chat history

https://github.com/S2thend/cursor-history-mcp
2•mikasisiki•21m ago•1 comments

Signal Chat: Silicon Valley Is Plotting Against California's Billionaire Tax

https://www.wsj.com/politics/policy/save-california-billionare-tax-814a2fe9
3•1vuio0pswjnm7•27m ago•0 comments

Obscene images: X admits its mistake and stated it would comply with Indian law

https://timesofindia.indiatimes.com/india/obscene-image-row-x-admits-mistake-thousands-of-posts-o...
2•throwaway110001•32m ago•0 comments

Photos of the Forgotten

https://www.synthetrix.com/potf.html
2•exvi•36m ago•0 comments

'Fuck You, Make Me' Without Saying the Words

https://daringfireball.net/2026/01/fuck_you_make_me_without_saying_the_words
5•nopakos•41m ago•1 comments

Show HN: I built an Instagram-style productivity app with gamification

https://apps.apple.com/us/app/lockin-social-productivity/id6742454713
2•mandynoee•56m ago•1 comments

The Concise TypeScript Book

https://github.com/gibbok/typescript-book
10•javatuts•1h ago•1 comments

Worktrunk – A CLI tool to manage multiple worktrees in Git repositories

https://github.com/max-sixty/worktrunk
2•javatuts•1h ago•0 comments

Jupyter Agents: training LLMs to reason with notebooks

https://huggingface.co/blog/jupyter-agent-2
2•walterbell•1h ago•0 comments

What's the end game for Ghost newsletter sign-up spam?

https://www.autodidacts.io/ghost-newsletter-sign-up-spam/
4•Curiositry•1h ago•0 comments

A multimodal sleep foundation model for disease prediction

https://www.nature.com/articles/s41591-025-04133-4
2•gnabgib•1h ago•0 comments

Quake 1 Single-Player Map Design Theories (2001)

https://www.quaddicted.com/webarchive//teamshambler.planetquake.gamespy.com/theories1.html
2•Lammy•1h ago•1 comments

Panoply of the Weird

https://www.nybooks.com/articles/2026/01/15/panoply-of-the-weird-fitz-james-obrien/
1•mitchbob•1h ago•1 comments

Sovereign Tech Fund: Strategic investments in the digital infrastructure

https://www.sovereign.tech/programs/fund
1•teleforce•1h ago•1 comments

Show HN: WinBorg, a beautiful alternative to Vorta for BorgBackup

https://github.com/robotnikz/WinBorg
2•robotnikz•1h ago•0 comments

Reversible Computation as a software construction paradigm

1•Nivdc•1h ago•1 comments

Writing First, Tooling Second

https://susam.net/writing-first-tooling-second.html
2•Brajeshwar•1h ago•0 comments

How can I grep for lines containing foo AND bar, foo OR bar?

https://mywiki.wooledge.org/BashFAQ/079
1•kamaraju•1h ago•1 comments

Show HN: Cortex – Android Notification manager with on-device LLM

https://play.google.com/store/apps/details?id=xyz.moyelauncher.cortex&hl=en_US
1•0xManjeet•1h ago•0 comments

Apple Wallet Storage Bug Is Filling Up iPhone Space for Some Users

https://www.macobserver.com/news/apple-wallet-storage-bug-is-filling-up-iphone-space-for-some-users/
3•ksec•1h ago•2 comments

Show HN: DreamForge – AI dream journal that turns dreams into art

https://dream-forge.me
1•KenzoArai•1h ago•0 comments

Court rejects NVIDIAs attempt to seal email chain with Annas Archive [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.cand.426191/gov.uscourts.cand.426191.222.0.pdf
5•1vuio0pswjnm7•1h ago•1 comments

Show HN: MCP Server for AI Agents to Publish on WriteFreely

https://github.com/laxmena/writefreely-mcp-server
1•laxmena•1h ago•0 comments

My Beef with the iOS 26 Tab Bar

https://ryanashcraft.com/ios-26-tab-bar-beef/
3•ksec•1h ago•0 comments