fixes #7802, when api version 1.11 is `json.Marshal`ing the container st...

fixes #7802, when api version 1.11 is `json.Marshal`ing the container struct

Signed-off-by: Jessica Frazelle <jfrazelle@users.noreply.github.com>
I believe you forgot `deleteAllContainers()`