To solve the following message:
Module php-imagick in this instance has no SVG support. For better compatibility it is recommended to install it.
you need to add some required library:
docker exec -it <nextcloud> apt -y update
docker exec -it <nextcloud> apt -y install libmagickcore-6.q16-6-extra
where <nextcloud> is the name of your nextcloud container.