I've written a setup script for autopkgtest-virt-ssh that sets up a local Docker container as a testbed, and supports revert:
https://github.com/airtower-luna/autopkgtest-ssh-docker Of course native Docker support would be nicer, but maybe this script could be included in /usr/share/autopkgtest/ssh-setup/ until that becomes available?