Docker makes it easier to run applications by using containers. Simply, install Docker, login, then run any of our images in an isolated environment (a container) within seconds; you don’t have to install tools or dependencies to run our code samples when you use Docker.
We organized our images by programming languge. Here are the available images we’ve created and loaded with pre-installed tools to save your time:
For example, to run the Python image in a container, run the following:
docker run -it --rm computingwithdata/python
You can always run a container with
sh as the entry-point command;
docker run -it --rm computingwithdata/python bash
We’ve also included the code samples as files in each image, so that you don’t
have to type them; that said, we believe that retyping code helps making it
stick and improves the chances of learning new concepts successfully.
Here’s an example of how to explore samples in the
ls chapter* ## chapter2: ## log-scale.R overflow.R rounding.R underflow.R ## ## chapter7: ## conditionals.R foo.R running-compiled-code.R ## ... (truncated for brevity)