Docker deploy of Metasploit, based on others, but fixed issues with ruby and updates
Exposes port for handler on 443
docker run -i -p 443:443 -t digitalshokunin/kali-metasploit
Will run msfupdate and then present you with msfconsole.
This hasn't been updated in a while, you may want to check out Tom Steele's work: