The practical way to run LXC containers on an Ubuntu VPS is to install LXD, Canonical’s manager for LXC-based system containers, then initialize it and launch an Ubuntu image with the lxc command-line client. On a supported host, the shortest working path is sudo snap install lxd, adding your operator account to the lxd group, running lxd init --minimal, and launching ubuntu:24.04. This creates a lightweight container rather than a full virtual machine, while leaving the LXD daemon with authority over the host’s containers, storage, networks and devices.
Antihost offers Linux VPS plans with full root access, unlimited traffic on a 1 Gbps port and a 14-day free trial.
What LXC, LXD and the lxc command each do
LXC is the Linux container technology. It uses the host kernel to run isolated user spaces, so a container normally starts faster and consumes less overhead than a virtual machine. LXD is the management daemon and API that creates, starts, stops and configures those containers; it can also manage virtual machines. The lxc client is the command-line tool you use to talk to LXD.
As an Amazon Associate I earn from qualifying purchases.
That distinction matters when following tutorials. You do not normally install a separate “LXC server” and then launch an image directly. On Ubuntu, the supported beginner workflow is to install LXD and operate it through lxc. The default command creates a container. Adding --vm asks LXD to create a virtual machine instead.
Check the Ubuntu VPS before installing
Use a supported Ubuntu Server installation and reserve storage for the image, the container’s writable filesystem, logs and application data. Canonical’s first-steps tutorial lists at least 20 GiB of free disk space for its exercise. That is a tutorial prerequisite, not a universal sizing rule: a game server, database or build workload can require considerably more space.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
- Confirm that you can run commands with
sudo. - Check available disk space before downloading an image.
- Plan where persistent application data and backups will live.
- Understand that CPU virtualization support is required for LXD virtual machines, but not for ordinary containers.
Ubuntu Server cloud images may already include LXD. If the lxc command is already available, check the existing installation and avoid installing a second manager without first understanding how the host was provisioned.
Install LXD with the recommended Snap package
On a regular Ubuntu VPS, install the stable LXD Snap:
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
sudo snap install lxd
Canonical’s installation guidance identifies the default stable LTS track as the recommended choice for most uses. Snap packages update automatically by default. That is convenient for security and maintenance, but operators with strict change-control requirements should use Snap’s hold or scheduling controls so an update does not arrive during an unplanned maintenance window. Record the update policy as part of your VPS runbook.
After installation, verify that the client is present:
lxc --version
The documented material covers LXD 5.21, with the first-steps tutorial using LXD 5.21.8 and Ubuntu 24.04 LTS images. Snap channels, client output and image aliases can change, so check the current Ubuntu documentation when reproducing the procedure on a later release.
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
Give an operator access without treating the group as ordinary permissions
LXD uses a local Unix socket by default. Add your account to the lxd group, then start a shell that includes the new membership:
Recommended Free Tools
sudo usermod -aG lxd "$USER"
newgrp lxd
You can check the effective groups with:
id
This is a security boundary, not a convenience setting. Canonical states that “Local access to LXD through the Unix socket always grants full access to LXD.” A user with that access can attach host files or devices and alter security settings for every instance. Give lxd membership only to people you would trust with root-level control of the VPS. Do not add a general deployment account, a web application user or an unreviewed automation identity merely to make a script work.
Initialize the LXD daemon
For a straightforward first setup, run:
lxd init --minimal
The minimal profile is intended to get a new operator to a working container quickly. It creates the basic server configuration without asking you to design every storage and network choice. For a production host, use the interactive initializer instead:
lxd init
The interactive flow lets you choose storage, network availability and other server settings. Before accepting defaults on a busy VPS, decide how much storage the container pool may consume, whether the host already has a bridge or firewall policy, and where snapshots or backups should be kept. Initialization configures the manager; it does not harden the applications you later install inside a container.
Launch your first Ubuntu container
Launch an official Ubuntu 24.04 LTS image with a simple name:
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
lxc launch ubuntu:24.04 first
The ubuntu: remote provides official Ubuntu images. launch both creates and starts the instance, so the command should return with a running container unless the host has a storage, network or image-download problem.
If you want to create an instance but keep it stopped, use init instead:
lxc init ubuntu:24.04 second
This distinction is useful when you want to apply configuration or attach planned storage before the first boot. The image alias and release are part of the command: replacing 24.04 with another release changes what is downloaded, and image availability can change over time.
Confirm state, addresses and resource information
Start with the concise instance list:
lxc list
The list reports each instance’s name, state, IP addresses, instance type and snapshot information. A newly launched container may need a moment for its guest networking to finish configuring; an empty address field does not necessarily mean creation failed.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →For deeper information about the instance named first, run:
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
lxc info first
The detailed output includes information such as architecture, process ID and usage data. Use it when a service appears to be running but is not reachable, or when you need to distinguish a stopped guest from one that is still booting.
Keep the container name consistent in scripts and documentation. Names such as first and second are valid examples, but production names should describe the workload and environment, such as game-lobby-prod or build-runner-test.
Container or virtual machine: choose deliberately
The same Ubuntu image family can be used for either an LXC container or an LXD-managed virtual machine. The default is a container:
lxc launch ubuntu:24.04 ubuntu-vm --vm
| Choice | How it is requested | Isolation and overhead | Host requirement | When it fits |
|---|---|---|---|---|
| Container | lxc launch ubuntu:24.04 name |
Shares the host kernel; normally lighter and quicker to start | Linux container support; hardware virtualization is not required | Linux services, development environments and multiple lightweight workloads on one VPS |
| Virtual machine | lxc launch ubuntu:24.04 name --vm |
Runs its own guest kernel with stronger separation and greater overhead | Host virtualization capability | Workloads that need a separate kernel or VM-level isolation |
If the VPS lacks virtualization capability, continue with containers and skip the VM steps. A container is not a substitute for every VM isolation property: it shares the host kernel, so evaluate the security boundary required by the workload before choosing it.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Keep daemon administration separate from application networking
By default, LXD is intended for local administration through its Unix socket. Remote clients and the web UI require an HTTPS listener configured with core.https_address. The tutorial demonstrates binding the UI to [::1]:8443, which keeps it available on the local host for browser access without publishing it on the VPS’s public interface.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
For remote administration, bind HTTPS to one deliberate address and firewall that port so only authorized hosts or subnets can reach it. Do not expose the daemon broadly to the Internet merely because a remote client is convenient. The management API is a control plane: compromise of its access is effectively compromise of the host’s container environment.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Container application traffic is a different problem. Decide which service ports a container actually needs, publish only those ports, and apply rules in both the VPS operating system and the provider’s firewall when one is available. Document whether a public address reaches the container directly or terminates at a reverse proxy. A game server, for example, may need one public gameplay port while its administration interface should remain private; do not infer that opening the daemon port is necessary for players to reach the application.
Security settings to apply before production use
- Patch the host and manager: apply Ubuntu and LXD security updates, and monitor Snap update policy.
- Limit operator access: keep
lxdgroup membership to people trusted with root-equivalent control. - Prefer unprivileged containers: use the default unprivileged model unless a documented requirement demands otherwise.
- Avoid privileged containers: Canonical’s security guidance warns that privileged containers are not root-safe.
- Restrict HTTPS administration: set
core.https_addressto the intended interface and firewall the management port. - Update guest software: patch the Ubuntu image and every package installed after launch.
- Protect recovery: take snapshots or backups before risky changes and test restoration separately from backup creation.
Unprivileged does not mean risk-free. A vulnerable application, weak SSH policy or accidentally published service can still be attacked. Treat container boundaries, host access, image provenance and network exposure as separate controls.
Common first-start problems and the safest response
The command says permission is denied
Check whether your current shell picked up the new group membership with id. If it did not, run newgrp lxd again or log out and start a new session. Do not solve a local permission problem by making the daemon remotely accessible.
The container has no address in lxc list
Wait briefly for guest networking, then inspect lxc info first to confirm that the instance is running. If it remains without an address, review the storage and network choices made during lxd init, the VPS firewall and any provider-level firewall. A running container and a publicly reachable application are not the same thing.
Free tools Windows power users keep installed
One-click scans. No signup required.
An image download or launch fails
Check outbound connectivity, free disk space and the exact image alias. The documented example uses ubuntu:24.04; image aliases and remote availability can change. Do not delete a working instance until you have captured its configuration or data plan.
Remote administration works from everywhere
That is a policy failure, not a convenience feature. Narrow the HTTPS bind address and firewall rules to the management hosts or subnets that actually need access. Keep local Unix-socket access for local operators and review every member of the lxd group.
A repeatable checklist for an Ubuntu VPS
- Confirm supported Ubuntu Server, sudo access and sufficient free disk space; use 20 GiB as the tutorial’s minimum starting point, not as a workload estimate.
- Install LXD with
sudo snap install lxd, or verify that a cloud image already supplied it. - Add only trusted operators with
sudo usermod -aG lxd "$USER", then refresh the shell usingnewgrp lxd. - Run
lxd init --minimalfor a basic setup, or uselxd initto choose storage and networking deliberately. - Launch a container with
lxc launch ubuntu:24.04 name, or create it stopped withlxc init ubuntu:24.04 name. - Check state and addresses with
lxc list; inspect architecture, process ID and usage withlxc info name. - Choose a VM only with
--vmwhen the VPS provides virtualization support and the workload needs a guest kernel. - Keep LXD local unless remote administration is necessary; if it is necessary, bind HTTPS narrowly and firewall it.
- Patch host and guest software, retain unprivileged defaults, and establish tested snapshots or backups before production changes.
For most Ubuntu VPS beginners, this sequence provides the right balance: LXD supplies the management layer, the official Ubuntu image gives a known starting point, and conservative access rules prevent a simple container experiment from becoming an exposed host-control interface.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




