Docker

Cloud Server

An Ubuntu server ready for Docker and Compose

Install

Plan

s-1vcpu-2gbSmallest that fits

1 vCPU · 2 GB RAM · 32 GB NVMe

฿229/mo

Settings

Timezone

After you press Install

  1. Check the price, accept the terms

    In the console

  2. Press Create server and install

    The server is created and billing starts

  3. Get in

    By web terminal or SSH

Terms and costs

  • You read and accept the terms of Docker before you confirm.
  • XVer bills only the server, not app accounts or their usage.

Read the terms of Docker (opens in a new tab)

Full statement

XVer is not the developer or agent of Docker, and Docker does not endorse this service. Names and logos are trademarks of their owners.

How to use

Web terminal

Opens in the browser.

  1. Open the server in my.xver.cloud

  2. Press Web terminal

    No server password

  3. Type the command

    docker

The owner and members who can manage the project can open it.

SSH

From a terminal on your computer, with a password or a key.

  1. Connect over SSH

    Use the password or key from the server page

    ssh xver@SERVER_IP
  2. Run your first container

    It prints a greeting and exits

    sudo docker run hello-world
  3. Make a folder for your app

    Keep its compose.yaml here

    mkdir -p ~/my-app && cd ~/my-app
  4. Start it with Docker Compose

    Containers run in the background

    sudo docker compose up -d

Replace SERVER_IP with your server’s IP

1 copy the SSH command 2 show the password (sample data, console in Thai)

Web console

For when the web terminal or SSH does not open. Needs the server’s password.

  1. Open the server in my.xver.cloud

    The user name and password are under the Access tab

  2. Press the arrow next to Web terminal and choose Web console

  3. Type the user name and password

  4. Type the command

    docker

A server with only an SSH key has no password: use SSH.

Images

  • 1 copy the SSH command 2 show the password (sample data, console in Thai)

On this page
  1. Why on a server
  2. What you need
  3. How to install
  4. What is on the server
  5. First use
  6. Who can get in
  7. Change passwords and keys
  8. Remove the app
  9. Cost
  10. Security
  11. Frequently asked questions

Docker Engine runs apps in containers kept apart from each other. Docker Compose starts several containers at once from a single compose.yaml file.

Why on a server#

You want On a Cloud Server
Apps that keep going after you close your laptop Containers keep running on the server
A space apart from your own computer Try new images without touching your computer
Work from anywhere Open the web terminal in a browser, or use SSH

What you need#

Item Details
Account None; use docker login when you need your Docker Hub account
Smallest size 1 vCPU, RAM 2 GB, NVMe disk 32 GB, Bandwidth 2 TB
On your computer A browser; an SSH client if you use SSH

How to install#

  1. Press Install Docker on this page
  2. Sign in to XVer and check the plan and price
  3. Choose how to get into the server: password or SSH key
  4. Read the Docker terms and tick to accept them
  5. Press Create server and install. The server is created and billing starts after this step

When it is installed, press Open server terminal or copy the SSH command.

What is on the server#

Item Details
System Ubuntu 26.04, user xver with sudo
Command Docker Engine and Docker Compose ready (docker, docker compose)
Ports open to the internet None added by the install, but any container you publish with -p or ports: can be reached from the internet
Running in the background The Docker service; it starts when the server boots

First use#

Press Web terminal on the server page; it does not need the server's password. Or connect over SSH from your computer.

On your computer
ssh xver@SERVER_IP

Run your first container#

The xver user is not in the docker group, so docker commands need sudo.

On the server
sudo docker run hello-world

Docker downloads a test image and runs it in a container, which prints a message and exits.

Start an app with Docker Compose#

Make a folder for your app and write a compose.yaml. This example starts an nginx web server that only the server itself can reach.

On the server
mkdir -p ~/my-app
cd ~/my-app
cat > compose.yaml <<'EOF'
services:
  web:
    image: nginx
    ports:
      - "127.0.0.1:8080:80"
EOF
  1. sudo docker compose up -d starts the containers in the background
  2. curl http://127.0.0.1:8080 checks that the web server answers
  3. sudo docker compose down stops and removes this file's containers
On the server
sudo docker compose up -d
curl http://127.0.0.1:8080
sudo docker compose down

Use docker without sudo (optional)#

Docker's docs add your user to the docker group, then you log out and back in, or run newgrp docker.

On the server
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world

Who can get in#

Docker has no web page of its own, but anyone on the internet can reach a container whose ports you publish.

Way Who
Web terminal The owner and project members who can manage it; no server password needed
SSH Anyone with the server's password or key
Web console Anyone with the server's password
Ports a container publishes Anyone on the internet, unless bound to 127.0.0.1 or closed by the firewall

Change passwords and keys#

Docker has no password of its own. What to look after is the server's password, and your Docker Hub account if you signed in.

What How to change it
Server password On the server page, Access tab, press Reset password. The old one stops working at once
Docker Hub account (if you used docker login) Run sudo docker logout to sign out of Docker Hub on this server. If you signed in with an access token, deactivate or delete it in your Docker Hub account

Remove the app#

  1. Back up the volumes and data you need to somewhere off the server first. Images, containers and volumes kept by Docker may be removed. If you signed in to Docker Hub, run sudo docker logout
  2. Open the server page, Apps tab
  3. Press Uninstall on Docker, check what will be removed, then confirm

The server stays and is billed as usual. If you no longer need it, delete the server; its data is gone for good.

Cost#

XVer does not charge for the app. You pay XVer for the server only. A server that is off is still billed. Delete it to stop billing; its data is gone for good.

PlanNVMe diskBandwidthPer hourPer month
1 vCPU · 2 GB32 GB2 TB฿0.38/hr฿229/mo
2 vCPU · 4 GB40 GB4 TB฿0.70/hr฿419/mo

The price you pay is shown before you confirm

Compare every size on Cloud Server pricing.

Security#

Ports published with -p or ports: can be reached from outside and skip the server's ufw rules, because Docker routes traffic to the container before ufw's rules apply.

Who should get in How
Only the server itself Bind to 127.0.0.1, such as -p 127.0.0.1:8080:80 or "127.0.0.1:8080:80" under ports:
Only some IP addresses Set rules in the firewall in the Networking tab of the server page
Everyone Publish the port as usual, and set a password in the app you run
  • The xver user can use sudo without a password. Anyone who can run commands as xver can change the whole server.
  • Add users to the docker group only when you need to; the group grants root-level privileges

Frequently asked questions#

Is XVer connected with Docker?

No. XVer is not the developer or agent of Docker and is not endorsed by it. If you use a Docker Hub account, you sign up for it and accept its terms with Docker yourself.

Why do I need sudo?

The xver user is not in the docker group. You can add it with the steps above, but the group grants root-level privileges.

ufw is on. Why can people still reach my container's port?

Ports that Docker publishes skip ufw's rules. Bind the port to 127.0.0.1, or close it with the firewall in the Networking tab of the server page.

฿229/mos-1vcpu-2gb

Installs open soon

See all apps