Thanks for the reply.
I was able to get into the vaultwarden docker container by following your instructions. Thank you.
However, I was not able to use my yubikey as 2FA method in vaultwarden settings even after setting environment variables.
You are more than welcome to hack around on your device, but keep in mind this is not like a ‘normal’ Linux distribution, and you may find some things don’t work as you expect. We also do not support anything done ‘under-the-hood,’ and you may cause more problems than you solve. The feature you are looking for has already been requested - you may like to add support for the feature on that page to garner it more attention.
If you manage to hack it together, please let us know under DIY/Hacking!
Thanks for pointing out the risks of tinkering within the embassy. Also thank you for mentioning the relevant github issue.
I wasn’t able to make it work by simply adding environment variables within the container so there maybe something more to it. I will probably report the result on github.