Stata only Docker image | https://github.com/ledwindra/docker-stata/
565
This image contains only Stata. Visit GitHub repository: https://github.com/ledwindra/docker-stata/
# run image
docker run -d -it --name=base-stata ledwindra/base-stata:latest
docker exec -it base-stata bash
# remove container if no longer needed
docker rm -f base-stata
To run Stata, you need to create stata.lic file inside /usr/local/stata/ directory. Otherwise, you will get the following error message when you prompt Stata batch mode:
Cannot find license file
stata.lic
By default, I only install vim text editor. So type the following command vim /usr/local/stata/stata.lic and paste the following values:
SERIAL!AUTHORIZATION!CODE!FIRST NAME!LAST NAME!FOUR DIGITS FROM LICENSE!
# Mac user can do the following and paste the values
cat /Applications/Stata/stata.lic
Content type
Image
Digest
Size
1.3 GB
Last updated
almost 5 years ago
docker pull ledwindra/base-stata