First, check whether the image is yours. If so, modify the Dockerfile to delete the unnecessary data volumes and rebuild the image. If not, the person who made the mirror must have his own intention in setting the data volume here. Why should you delete the data volume he set? If you don't want to use it, just create a new one and use it yourself.
If the data volume is created by docker run -v, delete the container and re-create it without this data volume.
First, check whether the image is yours.
If so, modify the Dockerfile to delete the unnecessary data volumes and rebuild the image.
If not, the person who made the mirror must have his own intention in setting the data volume here. Why should you delete the data volume he set? If you don't want to use it, just create a new one and use it yourself.
If the data volume is created by docker run -v, delete the container and re-create it without this data volume.