Vmware on container

I have seen and tried implementing KVM/qemu on lxd and it works even if the container is not privileged.

Anyone in this community have tried installing vmware player/workstation on a container?

Can you share instructions of the first part?
The container is unprivileged but I supposed it got access to several resources to make the VM work.

KVM on container, briefly:

  1. Mount /dev/kvm for container
  2. Install bridge utils to create a bridge interface to eth0
  3. Install qemu-kvm
  4. Set the kvm folder on the host to the uid and gid specified in /etc/subuid and /etc/subgid respectively
  5. Setup GUI on wayland, I used the gui profile created for other containers and update /etc/environment with these environment variables:

export WAYLAND_DSPLAY=wayland-0
export XDG_RUNTIME_DIR=/tmp
export XDG_SESSION_TYPE=wayland

and additionally:

export VIRSH_DEFAULT_CONNECT_URI=qemu:///system

to tell libvirt to search for VMs in system domain.