pre-removing docker image before rebuilding