Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 1.32 KB

README.md

File metadata and controls

71 lines (50 loc) · 1.32 KB

SAS for Containers

SAS4C for containers docker image from the official source.

Authentication to ACR

Protected under the Azure Container Registry.

docker login statcan.azurecr.io
username: xxxxx
password: xxxxx

Note: Azure ACR also supports access to repositories via inherited Active Directory profiles.

Image

  • 9.4 (default)

Build

docker build --build-arg AZURE_ACCOUNT_KEY=${AZURE_ACCOUNT_KEY} -t statcan.azurecr.io/sas4c:9.4 .

Pull

docker pull statcan.azurecr.io/sas4c:9.4

Run

docker run --name sas -d \
           -p 38080:38080 \
           statcan.azurecr.io/sas4c:9.4

Exec

docker exec -it sas4c sh

Volume Mount

docker run --name sas \
           -v $(pwd):/home/sas -d \
           -p 8561:8561 \
           -p 8591:8591 \
           statcan.azurecr.io/sas4c:9.4 sas tests/marks.sas

SAS Studio

Access at http://localhost:38080/SASStudio/

docker run --name sas -d \
           -p 8561:8561 \
           -p 8591:8591 \
           -p 38080:38080 \
           statcan.azurecr.io/sas4c:9.4