Running Server and Agent on same host (DEV machine)

Hello,

is it some how possible run Rancher Server and Rancher Agent on same Host? I know there is a video about that (https://www.youtube.com/watch?v=sS3gO5h88M4) but this video using boot2docker / vagrant / virtual box. But now there is a native Docker on all platforms (Linux, Mac, Windows). So is it some how possible to run Server and Agent on same Host only with Docker (without virtual box etc.)?