Vagrant is basically a layer on top on virtualbox/vmware that helps you manage VMs more efficiently. It makes it easy to setup your local development enviroments in a vm and replicate the production enviroment for example, instead of installing all the services locally on your machine with homebrew and whatnot and polluting your desktop experience.
Docker is afaik Linux only and uses some kind of container virtualization that makes it possible to run services in a separated virtual enviroment on a per process basis without the need to spin up a full vm with all the overhead. Also these docker containers seem to be portable to different machines pretty easily, making it easy to share enviroments among developers.
Now Fig looks like something to make managing docker containers easier.