vps-ubuntu-server
1.8K
An ultra-realistic, secure, sandboxed, high-performance virtual private server (VPS) environment built on top of Ubuntu 24.04 LTS (Noble Numbat).
Engineered for production and development workloads, this environment is hardened using Google's gVisor (runsc) sandbox runtime. It is specifically designed to bypass Docker environment indicators, perfectly cloaking itself as a pure KVM-based Virtual Machine while offering full outbound network capabilities (such as unprivileged ping), a secure passwordless sudo localhost bridge, and a premium shell experience.
runsc secure runtime, providing unmatched protection against container escape vulnerabilities.systemd-detect-virt reports kvm (and none under container checks)./) is masked as ext4 on /dev/sda1 (no overlay indicators)./) possesses standard inode 2 (avoiding overlay's typical inode 1)./proc/self/mountinfo and /proc/1/mountinfo are cleaned of any docker/overlay references.QEMU under /sys/class/dmi/id/sys_vendor.uname -a reports a production 6.8.0-40-generic kernel.dmesg yields realistic KVM VM boot logs instead of gVisor initialization markers.sudo and sudo su via an automated internal SSH key-based escalation path.ping 8.8.8.8 works natively as an unprivileged user under hardened clouds.22 for key/password logins.6080 powered by TTYD with custom modern styling.Customize your VPS container deployment by defining the following environment variables:
| Variable | Default Value | Description |
|---|---|---|
SSH_USER | ubuntu | Main user account for shell terminal and SSH access. |
SSH_PASSWORD | ubuntu | Password for both SSH_USER and root accounts. |
SSH_HOSTNAME | server | Hostname of the simulated VPS system. |
SSH_PORT | 2222 | Internal SSH port mapped to the host (default: 22). |
TTYD_PORT | 6080 | Internal web terminal port mapped to the host. |
Choose one of the following three highly optimized deployment methods to spin up your premium VPS environment:
Perfect for local testing, development, and standard VM simulation.
docker run -d --privileged \
--runtime runsc \
--cpus="2.0" \
--memory="2g" \
--restart always \
-p 2222:22 \
-p 6080:6080 \
--name vps-ubuntu-server-app \
-e SSH_USER="ubuntu" \
-e SSH_PASSWORD="your_secure_password" \
-e SSH_HOSTNAME="server" \
-e SSH_PORT="2222" \
-e TTYD_PORT="6080" \
jefriherditriyanto/vps-ubuntu-server:latest
Coolify is an excellent self-hosted alternative to Heroku/Vercel. Follow these steps to host your virtual environment:
jefriherditriyanto/vps-ubuntu-server:latest
SSH_USER=ubuntu
SSH_PASSWORD=your_secure_password_here
SSH_HOSTNAME=cloud-vps
SSH_PORT=2222
TTYD_PORT=6080
2 and Memory limits to 2048MB (2G).22 (SSH Console) and port 6080 (Web Console).6080 to a public URL protected with Let's Encrypt SSL, allowing you to access your virtual terminal safely from anywhere in the world!Excellent for managing persistent services, disk limits, and microservices in a single configuration file.
Create a docker-compose.yaml in your workspace:
version: '3.8'
services:
ubuntu-ssh:
image: jefriherditriyanto/vps-ubuntu-server:latest
container_name: vps-ubuntu-server-app
# Set runsc runtime to enable Google gVisor
# See: https://gvisor.dev/docs/user_guide/install/
runtime: runsc
privileged: true
ports:
- "2222:22"
- "6080:6080"
environment:
- SSH_USER=ubuntu
- SSH_PASSWORD=your_secure_password_here
- SSH_HOSTNAME=your_hostname_server
- SSH_PORT=2222
- TTYD_PORT=6080
deploy:
resources:
limits:
cpus: '2.0'
memory: 2G
storage_opt:
size: '60G'
restart: always
Run the stack in the background:
docker compose up -d
Once deployed, access your Premium VPS environment using either of the following paths:
ssh -p 2222 ubuntu@your-server-ip
http://your-server-ip:6080
SSH_USER and SSH_PASSWORD to log in. You will be greeted by the stunning, and a fully configured KVM-spoofed environment!Content type
Image
Digest
sha256:469c1a643β¦
Size
322.3 MB
Last updated
about 2 months ago
docker pull jefriherditriyanto/vps-ubuntu-server:1.0.23