<!-- Love localstack? Please consider supporting our collective:
👉  https://opencollective.com/localstack/donate -->

Having upgraded to the latest LocalStack version, I've noticed that Docker containers from Lambda executions are immediately removed when they terminate.

This was added in https://github.com/localstack/localstack/pull/1584

I can appreciate the need to clean up containers, however this feature of having them stay up is actually very useful for debugging things when they go wrong!

Would it be possible to have a flag so that when running LocalStack we can specify whether to remove containers on completion? Something like:

```
services:
  localstack:
    image: localstack/localstack:latest
    ports:
      - "4567-4593:4567-4593"
    environment:
      - SERVICES=serverless,ssm,stepfunctions
      - DOCKER_HOST=unix:///var/run/docker.sock
      - LAMBDA_EXECUTOR=docker
      - REMOVE_CONTAINERS_ON_LAMBDA_TERMINATE=true #(or false)
    volumes:
      - "${TMPDIR:-/tmp/localstack}:/tmp/localstack"
      - "/var/run/docker.sock:/var/run/docker.sock"
```

Thanks for the great work folks!
result = {'Error': {'Code': code, 'Message': message}}
    content = xmltodict.unparse(result)
    headers = {'content-type': 'application/xml'}
    return requests_response(content, status_code=status_code, headers=headers)
def expand_redirect_url(starting_url, key, bucket):
    """ Add key and bucket parameters to starting URL query string. """
    parsed = urlparse.urlparse(starting_url)
    query = collections.OrderedDict(urlparse.parse_qsl(parsed.query))
    query.update([('key', key), ('bucket', bucket)])
    redirect_url = urlparse.urlunparse((
        parsed.scheme, parsed.netloc, parsed.path,
        parsed.params, urlparse.urlencode(query), None))
    return redirect_url
def is_bucket_specified_in_domain_name(path, headers):
    host = headers.get('host', '')
    return re.match(r'.*s3(\-website)?\.([^\.]+\.)?amazonaws.com', host)
def is_object_specific_request(path, headers):
    """ Return whether the given request is specific to a certain S3 object.
        Note: the bucket name is usually specified as a path parameter,
        but may also be part of the domain name! """
    bucket_in_domain = is_bucket_specified_in_domain_name(path, headers)
    parts = len(path.split('/'))
    return parts > (1 if bucket_in_domain else 2)
def normalize_bucket_name(bucket_name):