This guide explains rtop deployment options.
For Docker installation, see Docker.
rtop does not have an official Docker image. rtop is an interactive SSH-based monitoring tool that runs locally on your workstation and connects to remote servers via SSH.
Download the latest release:
curl -LO https://github.com/rapidloop/rtop/releases/latest/download/rtop-linux-amd64
chmod +x rtop-linux-amd64
sudo mv rtop-linux-amd64 /usr/local/bin/rtop
git clone https://github.com/rapidloop/rtop.git
cd rtop
go build
sudo mv rtop /usr/local/bin/
Since rtop is designed for interactive SSH sessions, running it in Docker is not practical. However, you can build a custom image:
FROM golang:1.21-alpine AS builder
RUN apk add --no-cache git
RUN go install github.com/rapidloop/rtop@latest
FROM alpine:latest
RUN apk add --no-cache openssh-client
COPY --from=builder /go/bin/rtop /usr/local/bin/rtop
ENTRYPOINT ["rtop"]
Connect to a remote server:
rtop user@hostname
rtop user@hostname:port
rtop -i /path/to/private/key user@hostname
Deploying rtop in containers for production? Our consulting covers:
Get expert help: office@linux-server-admin.com | Contact Page