### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

The documentation states that when setting DYNAMODB_SHARE_DB=1 DynamodDB will use a single database for each credential and region. This doesn't work when LocalStack is started from CLI. For example:

`DYNAMODB_SHARE_DB=1 localstack start -d`

In Docker logs you can find:
INFO:localstack.services.dynamodb.server: SharedDb:     false

At least it seems that the environment variable is missing from CONFIG_ENV_VARS which is used for passing the environment variables to container.

Tried the following fix and at least after brief testing it solves the issue:
https://github.com/jvuori/localstack/commit/6bb4a3c68c8675b9548e0f5eb8028397d9ee5a47
Feel free to pull if the fix is appropriate. (Sorry, no unit test...)

### Expected Behavior

`DYNAMODB_SHARE_DB=1 localstack start -d`
should start DynamoDB with:

INFO:localstack.services.dynamodb.server: SharedDb:     true

### How are you starting LocalStack?

With the `localstack` script

### Steps To Reproduce

#### How are you starting localstack (e.g., `bin/localstack` command, arguments, or `docker-compose.yml`)

DYNAMODB_SHARE_DB=1 localstack start -d


### Environment

```markdown
- OS: Windows + WSL2 + Docker CE running inside WSL2
- LocalStack: 0.14.1
```


### Anything else?

_No response_
os.environ["NO_PROXY"] += "," + no_proxy
else:
    os.environ["no_proxy"] = no_proxy
CLI_COMMANDS = {}
if not DOCKER_BRIDGE_IP:
    DOCKER_BRIDGE_IP = "172.17.0.1"
    if is_in_docker:
        candidates = (DOCKER_BRIDGE_IP, "172.18.0.1")
        for ip in candidates:
            if ping(ip):
                DOCKER_BRIDGE_IP = ip
                break
try:
    DOCKER_HOST_FROM_CONTAINER = DOCKER_BRIDGE_IP
    if not is_in_docker and not is_in_linux:
        
        
        if LOCALSTACK_HOSTNAME == LOCALHOST:
            DOCKER_HOST_FROM_CONTAINER = "host.docker.internal"
    
    if is_in_docker:
        DOCKER_HOST_FROM_CONTAINER = socket.gethostbyname("host.docker.internal")
        if LOCALSTACK_HOSTNAME == DOCKER_BRIDGE_IP:
            LOCALSTACK_HOSTNAME = DOCKER_HOST_FROM_CONTAINER
except socket.error:
    pass
EXTERNAL_SERVICE_PORTS_START = int(
    os.environ.get("EXTERNAL_SERVICE_PORTS_START")
    or os.environ.get("SERVICE_INSTANCES_PORTS_START")
    or 4510