Migrate physical server to LXD container

lxd-p2c is developed by LXD team to migrate physical servers into LXD containers. https://github.com/lxc/lxd/tree/master/lxd-p2c Static binary files are available in

lxc storage list

lxc storage list

To list Storage in LXD, use the command Example In this installation, we use btrfs file system for storing containers.

Linux Container

How to connect to lxd container

lxd is an easy-to-use command-line interface for lxc (Linux container). In this blog post, I will show how to create

Copy a file from host into LXD container

Copy a file from host into LXD container

To copy file from host machine to LXD container run Example To copy a file from the host machine to

LXD container snapshot and restore

LXD container snapshot and restore

lxc allow you to take snapshot, restore snapshot of a container. Here we create a snapshot, then delete the /etc