Disk limit increased but ignored with docker in aws

I have an ec2 instance with docker.

By default, the docker disk limit is 10 G but I need to have at least 20-30 G to investigate some issues.

For that I increased the /dev/mapper to 100 G and /dev/nvme0n1p1 (the ec2 disk space) to 30 G.

Here is df -h --total

Filesystem                                                                                        Size  Used Avail Use% Mounted on
/dev/mapper/docker-259:4-xxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   98G   11G   83G  12% /
tmpfs                                                                                              64M     0   64M   0% /dev
tmpfs                                                                                             1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/nvme0n1p1                                                                                     30G  1.9G   28G   7% /etc/hosts
shm                                                                                                64M     0   64M   0% /dev/shm
total                                                                                             130G   13G  112G  11% -

Everytime /dev/mapper goes over 10 G, the mount becomes read-only and it becomes impossible to do anything, exactly as before increasing the disk limit.

Any idea on why this is happening? What should I do?

Source: StackOverflow