### 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_
"""
        Returns Localstack directory paths as they are defined within the container. Everything shared and writable
        lives in /var/lib/localstack or /tmp/localstack.
        :returns: Directories object
        """
        
        
        var_libs = (
            os.environ.get("CONTAINER_VAR_LIBS_FOLDER", "").strip()
            or "/var/lib/localstack/var_libs"
        )
        cache = os.environ.get("CONTAINER_CACHE_FOLDER", "").strip() or "/var/lib/localstack/cache"
        tmp = (
            os.environ.get("CONTAINER_TMP_FOLDER", "").strip() or "/tmp/localstack"
        )  
        data_dir = os.environ.get("CONTAINER_DATA_DIR_FOLDER", "").strip() or (
            DATA_DIR if in_docker() else "/tmp/localstack_data"
        )  
        return Directories(
            static_libs=INSTALL_DIR_INFRA,
            var_libs=var_libs,
            cache=cache,
            tmp=tmp,
            functions=HOST_TMP_FOLDER,  
            data=data_dir,
            config=None,  
            logs="/var/lib/localstack/logs",
            init="/docker-entrypoint-initaws.d",
        )
    def mkdirs(self):