docker build -f Dockerfile.Ubuntu -t stare-env:latest .docker run -it stare-env:latest /bin/bash# Check pystare and starepandas
python -c "import pystare, starepandas; print(pystare.__version__, starepandas.__version__)"
# Or list all conda packages
conda list
# Or list all pip packages
pip listexit# Start a container in the background (named "stare-test") and drop into bash:
docker run -d --name stare-test -it stare-env:latest /bin/bash
# Check that it's running:
docker ps
# Attach to it (opens an interactive shell):
docker exec -it stare-test /bin/bash- Go to: https://hub.docker.com and sign up a new account
- Login with docker from command line:
docker login
# You’ll see something likes:
# Opening login URL in your browser...
# If the browser didn't open, visit: https://identity.docker.com/...
# And enter the code: ABCD-EFGH
# Follow the link, login with your docker account, enter the code. Then CLI will print Login Succeededdocker build -f Dockerfile.MacOS -t stare-env-m1:latest .docker run -it stare-env-m1:latest /bin/bash# Check pystare and starepandas
python -c "import pystare, starepandas; print(pystare.__version__, starepandas.__version__)"
# Or list all conda packages
conda list
# Or list all pip packages
pip listexit# Start a container in the background (named "stare-test") and drop into bash:
docker run -d --name stare-test-m1 -it stare-env-m1:latest /bin/bash
# Check that it's running:
docker ps
# Attach to it (opens an interactive shell):
docker exec -it stare-test-m1 /bin/bash