Sign inSign up

ledwindra/base-stata

By ledwindra

•Updated almost 5 years ago

Stata only Docker image | https://github.com/ledwindra/docker-stata/

Image
0

565

ledwindra/base-stata repository overview

This image contains only Stata. Visit GitHub repository: https://github.com/ledwindra/docker-stata/⁠

⁠Usage

# 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

Tag summary

Content type

Image

Digest

Size

1.3 GB

Last updated

almost 5 years ago

docker pull ledwindra/base-stata