Run Stata from a Docker image. NN is the Stata version (16, 17, 18,
19). Requires a local Stata license and Docker.
stata17 nameofdofile.doImages are pulled from the sscng Docker Hub
account. Stata 16 and 17 default to the latest tag; later versions default to
the most recent dated tag. Set STATA_TAG to use a different tag.
The working directory is set to that of the do file, which may not suit every project.
stataNNsh opens a shell inside the same image instead of running Stata. An
Apptainer variant (stata17-apptainer) is available for HPC environments.