How to run latest Strapi with docker?

You can use the tool i built for this

Just run

npx @strapi-community/dockerize

Note the image you are using is for V3 and won’t work for V4.
Also please note it’s HIGLY not recommended to use SQLITE for Docker as everytime you kill the container you will delete the database, unless you bind mount.

The tool I created can spin up Mysql / MariaDB or postgres databases locally so you can use it for testing.