You have to be on the vagrant VM to issue this command. The command vagrant ssh will connect you to the VM.
It looks like you cannot connect to keyserver.ubuntu.com. You may have a network issue, something like a firewall stopping your traffic or a slow connection.