---
title: "Deploy Ubuntu 18.04 Terminal [Jun'26]"
description: "Browser-based Ubuntu 18.04 terminal with persistent storage."
category: "Starters"
url: https://railway.com/deploy/ubuntu-1804-terminal-jun26
---

# Deploy Ubuntu 18.04 Terminal [Jun'26]

Browser-based Ubuntu 18.04 terminal with persistent storage.

**[Deploy Ubuntu 18.04 Terminal [Jun'26] on Railway](https://railway.com/template/ubuntu-1804-terminal-jun26)**

- **Creator:** Tasha
- **Category:** Starters
- **Total deploys:** 18

## Template content

### ubuntu18-railway

- **Source:** Amritasha/ubuntu18-railway
- **Public domain:** Yes

## Documentation

# Deploy and Host Ubuntu 18.04 Terminal on Railway

Ubuntu 18.04 Terminal gives you a full browser-accessible bash shell running on Ubuntu 18.04 LTS (Bionic Beaver) — no SSH client, no local setup, no configuration needed. Files and packages you install persist across restarts thanks to a built-in volume mounted at /root. Open the URL, enter your credentials, and you're in a live legacy Linux terminal from anywhere.

## About Hosting Ubuntu 18.04 Terminal

Hosting Ubuntu 18.04 Terminal on Railway spins up an Ubuntu 18.04 LTS Docker container with a ttyd web terminal exposed over HTTP. Railway handles the HTTPS proxy, domain, and container lifecycle automatically. A persistent volume is mounted at /root, meaning anything you install or create survives redeploys. You simply set your username and password, deploy, and access your terminal via the Railway-provided URL. The container comes pre-installed with a full set of commonly used CLI tools, making it ideal for reproducing legacy environments or testing older package versions without any additional setup.

## Common Use Cases

- Reproduce and debug issues specific to Ubuntu 18.04 LTS environments
- Test software compatibility with older Linux distributions and package versions
- Use as a persistent legacy remote environment accessible from any browser

## Dependencies for Ubuntu 18.04 Terminal Hosting

- Docker (handled automatically by Railway)
- A Railway account with an active project

### Deployment Dependencies

- [ttyd — Terminal over HTTP](https://github.com/tsl0922/ttyd)
- [Ubuntu 18.04 LTS Docker Image](https://hub.docker.com/_/ubuntu)
- [Railway Docs — Dockerfiles](https://docs.railway.com/builds/dockerfiles)

### Implementation Details

The container starts ttyd bound to the Railway-injected $PORT, protected by $USERNAME and $PASSWORD:

/bin/ttyd -p $PORT -c $USERNAME:$PASSWORD /bin/bash

A volume is mounted at /root to persist all user files across restarts.

Pre-installed tools:

Editors: vim, nano
System: htop, tree, lsof, strace, less, man
Files: unzip, zip
Build: gcc, g++, make, build-essential
Network: ifconfig, ip, ping, dig, openssh-client, telnet, netcat
Data: jq
General: sudo, python3, pip, git, curl, wget, neofetch

Need more? Install anything with:

apt-get install -y 

No sudo needed — the container runs as root. Files saved inside /root persist across restarts. Note that packages installed via apt-get are stored outside /root and will not survive a full redeploy.

| Variable | Description |
|---|---|
| PORT | Port ttyd listens on (default: 7681) |
| USERNAME | Login username for the web terminal |
| PASSWORD | Login password for the web terminal |

## Why Deploy Ubuntu 18.04 Terminal on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Ubuntu 18.04 Terminal on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Similar templates

- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [caring-vibrancy](https://railway.com/deploy/caring-vibrancy) — Deploy and Host caring-vibrancy with Railway
- [Appsmith](https://railway.com/deploy/appsmith-1) — Low-code platform for internal tools, dashboards, and admin panels.

Open this page in a browser: https://railway.com/deploy/ubuntu-1804-terminal-jun26
