use --rm rather than removing container in bash