Fix issue #6

Signed-off-by: Janet Jin <janet.jin@turn.com>
can we pull out opts.containerType as a variable and have a default case so it's easier to read.