Some notes on how to migrate an Alpine Linux vserver to an lxcontainer.
Its fairly straightforward. Basically, the only thing that differs is:
On vserver the host sets up the network, on LXC the container needs to do it itself.
Here follows some step by step. build-edge-x86 is used as example.
Create the new container on the LXC host
Make a copy of the inittab to a location outside the container rootfs.
Use rsync to mirror the vserver. We do this before we shut down the vserver guest to keep downtime as low as possible. In this example we rsync from the vserver host: