What do you want to achieve with this? Do you want to convert the whole virtual machine into a container or only use some files from the virtual machine? It might be easier to (after creating a new container, if necessary) just copy the required files from your VM to your container.