Skip to content

firefly-cpp/alpine-container-data-science

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

A basic container image for performing data science reproducibility studies based on Alpine Linux

🚀 Build & run🔍 Why Alpine Linux for data science?

The repository is devoted to a sample container image built on the top of Alpine Linux that installs some data science dependencies using the "apk" package manager and runs a python script.

🚀 Build & run

🐳 Docker

The image can be built using the following command:

$ docker build --tag ds .

Run the image using

Linux $PWD

docker run -it --name ds-container -v "$PWD:/var/ds" ds

Windows {$PWD}

Run the image using Powershell and {$PWD} due to $PWD not being avaliable in command prompt on Windows.

docker run -it --name ds-container -v "{$PWD}:/var/ds" ds

🦦 Podman

The image can be built using the following command:

$ podman build --tag ds .

Run the image using

Linux $PWD

podman run -it --name ds-container -v "$PWD:/var/ds" ds

Windows ($PWD)

Run the image using Powershell and {$PWD} due to $PWD not being avaliable in command prompt on Windows.

podman run -it --name ds-container -v "{$PWD}:/var/ds" ds

🔍 Why Alpine Linux for data science?

Some interesting facts:

  • Small container image.
  • Alpine Linux allows a lot of customization.
  • Excellent package manager.
  • Many data science tools already exist in the Alpine ecosystem. They can be easily installed using the "apk" command ( e.g., Python tools: NumPy, scipy, scikit-learn, seaborn, matplotlib, niapy, deap, pyswarms, jupyter, etc.) NOTE: if you are installing a Python package using "apk" that is not pure CLI (Command Line Interface), you should prepend "py3-" before the name of the package.
  • Excellent community.

Disclaimer

This software is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it at your own risk!

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors