I have an Ubuntu 20.04 machine with Docker installed, on that docker I have an image of PostgreSQL.
I have an automated process which creates an image from that container, run commands on that image (create DB, create tables…) and than stops and removes the image.
The issue is that if I run the automation again I get the error: 42P07: relation “Dictionary” already exists (“Dictionary” is a name of a table).
I did clean the volumes and when I created the DBs, it worked (meaning they weren’t there before).
Is there any other cachedisk that I need to clean when removing the image?