Basic commands when you have the ‘Dockerfile’ in the repository.

Build Docker: $\;\;\;\;\;\;\;\;\;\;\;\;$ docker build -t <container-name> .
Run Docker: $\;\;\;\;\;\;\;\;\;\;\;\;\;$ docker run -it -rm --name test --privileged <container-name>:<tag> bash

Python Virtual Environment

On maxOS and Linux:

python3 -m venv <path-to-env/env-name>
source env/bin/activate # To activate the environment
deactivate # To deactivate the environment


Getting Started

Verify Conda is installed, check version number: $\;\;\;\;\;\;\;\;\;\;\;\;$ conda info
Update Conda to the current version: $\;\;\;\;\;\;\;\;\;\;\;\;$ conda update -n base conda
Update all packages: $\;\;\;\;\;\;\;\;\;\;\;\;$ conda update anaconda

Working with Environments

Create a new environment named ENVNAME with specific version of Python and packages installed: conda create --name ENVNAME python=3.6 "PKG1>7.6" PKG2