i have some kind of a beginner question (since i am one):
I pulled the mysql image and run it (no volumes attached). Just simple -d -p 3306:3306
Then i added a demo-database (“world”) and wanted to create a new image including the new database.
docker commit micky65/sql-world:latests and pushed it to the hub with
docker push micky65/sql-world:latest
That worked fine, BUT:
If i pull and run this image on another computer, mysql works fine, but my database “world” ist not included.
Why is that, and what do i have to do… ?