This is unsupported, but there are efforts trying to keep up with mainline Discourse. You can search for docker compose here, or visit these two variants:
- Install Discourse using Docker and Docker Compose
- discourse · main · indiehost / libre.sh / Images · GitLab
Careful though, maintaining Discourse across versions can prove difficult. But IndieHosters have been doing it for some years now.
Both projects use the original Discourse/base docker image but I’m not sure they’re tailoring the installation like @sam’s pups does for discourse-docker.