Convert a legacy integration test to a clean v2 CLI integration test.

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
Merge pull request #5010 from shykes/cli-tests

Convert a legacy integration test to a clean v2 CLI integration test.