This fix migrates several docker rm tests to api tests Signed-off-by: Yong Tang <yong.tang.github@outlook.com> (cherry picked from commit 6bd4f4801b244555213f0040b9885033e99d4ae8) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>