Added --device flag to run reference

Docker-DCO-1.1-Signed-off-by: James Turnbull <james@lovedthanlost.net> (github: jamtur01)
Merge pull request #7931 from jamtur01/device

Added --device flag to run reference