Manage LXC Container with LXC Web Panel – A Web Based Interface

LXC Web Panel is a web-based administration tool to manage Linux containers; it is available for Ubuntu 12.04 and later. LXC web panel is released under MIT license.

Using LXC web panel, you can perform.

  • Creating Linux Containers
  • Start, stop, and freeze the Linux Containers
  • Cloning Linux Containers
  • Deleting Containers
  • LXC Networking
  • User Management
  • Rebooting LXC host

Prerequisites:

Assuming that, you have Linux Container installed on Ubuntu 16.04.

For Ubuntu 16.04, please install python-setuptools. Skip for other versions.

$ sudo apt-get install python-setuptools

Installing LXC Web Panel:

Run the following command on the terminal to perform the automatic installation of LXC web panel,

$ wget https://lxc-webpanel.github.io/tools/install.sh -O - | sudo bash

Once the installation is completed, open up your web browser and navigate it to “http://your-ip-address:5000.”

Working with LXC Web Panel:

Login with username “admin” and password “admin“.

Manage LXC Container with LXC Web Panel - Login Screen
Manage LXC Container with LXC Web Panel – Login Screen

After successful login, LXC web panel will take you to the homepage where you can get an overview of LXC environment. Here, you can do most of the container management like creation, cloning, starting, stopping, freezing, and deletion.

Manage LXC Container with LXC Web Panel - Overview
Manage LXC Container with LXC Web Panel – Overview

You can get the detailed information of a container by clicking on the container name at the homepage.

Manage LXC Container with LXC Web Panel - Container Information
Manage LXC Container with LXC Web Panel – Container Information

With LXC web panel, you can also manage container networking.

Manage LXC Container with LXC Web Panel - Networking
Manage LXC Container with LXC Web Panel – Networking

Manage LXC web panel users by going to “Users” page.

Manage LXC Container with LXC Web Panel - User Management
Manage LXC Container with LXC Web Panel – User Management

Perform the cloning of a container using below steps.

Manage LXC Container with LXC Web Panel - Cloning Container
Manage LXC Container with LXC Web Panel – Cloning Container

You can also create a new container by click on “Create CT

Manage LXC Container with LXC Web Panel - Creating Container
Manage LXC Container with LXC Web Panel – Creating Container

Updating LXC Web Panel:

Please copy and paste the following command in the terminal.

$ wget https://lxc-webpanel.github.io/tools/update.sh -O - | sudo bash

That’s All. Be social, share this guide with your friends.

POSTS YOU MAY LIKE -:)

Share This Post

Shares