Volumes mssql/server:2019

Hello

I’m trying to create volumes through the docker-compose.yml file, uploading an MSSQL 2019 image (mcr.microsoft.com/mssql/server:2019-CU3-ubuntu-18.04) but right after running “docker-composer up” it returns me the following error:

/opt/mssql/bin/sqlservr: Error: The system directory [/.system] could not be created. Errno [13]

If I do not specify the volume, the execution of the image does not present an error

OBS: I use the Ubuntu 18.04 LTS operating system

version: '3.7'
services:
    db:
        image: mcr.microsoft.com/mssql/server:2019-CU3-ubuntu-18.04
        container_name: db
        environment:
            - MSSQL_PID=Express
            - ACCEPT_EULA=Y
            - SA_PASSWORD=MSsql2019
        volumes:
            - ./data:/var/opt/mssql
        ports:
            - 1433:1433

Did you find any solution?