Menu

1 / 2

How to Deploy Any Public Docker Image (like wg-easy) to a VPS Using Kamal

DEV Community·Nadiar Syaripul·6 months ago
#YehhvMsz
#docker#ruby#kamal#easy#deploy
Reading 0:00
15s threshold

Kamal is my go-to deployment tool for Rails apps — it handles SSL, zero-downtime deploys, and the proxy with a single kamal deploy command. But officially, Kamal expects you to build and push your own image. It can't deploy an arbitrary public image directly from a registry like Docker Hub or GHCR.

Or so I thought.

In this post, I'll show you a small trick using a placeholder Dockerfile + Kamal accessories to deploy any publicly available Docker image to a VPS — no custom build required.

The Problem

Sometimes you just want to run a pre-built public image on your server.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.