Binding container to /var/run/aesmd/aesm.socket on the host

Maybe try to bind aesm.socket inside the container to /mnt/ folder and then create a link from it to the proper location:

listen: /mnt/aesm.socket

then inside container:

ln -sf /mnt/aesm.socket /var/run/aesmd/aesm.socket

If link disappears on reboot, you can script this like here: