How to Install Uptime Kuma with Docker

How to Install Uptime Kuma with Docker

If you want to monitor servers, Steam game servers, DNS, databases, and more, you can use Uptime Kuma. This tutorial will cover how to install Uptime Kuma using Docker.

How to Install Uptime Kuma with Docker

Before starting, here is the server information used to install Uptime Kuma in this tutorial:

  • OS: Ubuntu 25.04
  • RAM: 1GB
  • CPU: 1vCPU
  • Storage: 25GB SSD
  • Server: Singapore (Vultr)

With those specifications, let us start the steps to install Uptime Kuma with Docker from the very beginning.

1. Update and Upgrade Server

The first step you need to take after logging in via SSH, is to make sure you update and upgrade to the latest packages.

sudo apt-get updatesudo apt-get upgrade -y

2. Install Docker

Once the update and upgrade process is complete, you can install Docker.

sudo apt install docker.io

3. Create Docker Volume

Use the docker volume create command to create a Docker volume. For example, we will create a volume named kuma-wpgan

sudo docker volume create kuma-wpgan

4. Install Uptime Kuma

After finishing the Docker volume creation, you can now install Uptime Kuma into that volume.

sudo docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name kuma-wpgan louislam/uptime-kuma:1

After installing Uptime Kuma, you can verify it and ensure that Uptime Kuma is running.

sudo docker ps

5. Access and Configure Uptime Kuma

Now you can access Uptime Kuma by visiting http://IP_server:3001, for example http://127.0.0.1:3000 (adjust this to your server IP), and you will be asked to complete the initial configuration by creating an admin account.

6. Create a New Monitor

Finally, you can create a new monitor by clicking the Add New Monitor button and selecting the type you want to monitor. For example, to monitor the website wpgan.com, you can use the following configuration.

That is an easy way to install Uptime Kuma with Docker that you can try. However, since accessing it requires using an IP address that is hard to remember, it is also recommended to set up a Reverse Proxy, such as using Nginx, so that you can access Uptime Kuma directly with a domain.

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...