Clone kratos and run it in Docker: https://www.ory.sh/kratos/docs/quickstart#clone-ory-kratos-and-run-it-in-docker

git clone <https://github.com/ory/kratos.git>
cd kratos
git checkout v0.6.3-alpha.1

docker-compose -f quickstart.yml -f quickstart-standalone.yml up --build --force-recreate
# Go through the quickstart example SecureApp until grok.
# Examples and network activity look good to me.

docker-compose -f quickstart.yml down -v
docker-compose -f quickstart.yml rm -fsv

I guess to play around with this, I should extend the docker compose files and modify the configurations as necessary