Big Data St. Pete -- Run a Jupyter Notebook in a Docker Container (Round 2)
Details
Docker is an essential tool for your build environment. Docker is lightweight, fast, and easy to deploy. This meetup group uses Docker to manage projects and environments. For example, we will be working with python most of the summer using a docker container.
In this session, we will install Linux and Docker and use Docker commands to install the jupyter-notebook third-party image. All participants will be able to run a basic python script within the Docker container by completing this session.
Please bring a charged laptop to have the most optimized experience. Our meeting location is called Invision Cafe and is located downtown Saint Petersburg, 275 16th St N, St. Petersburg, FL 33705. There is a cafe with coffee, kava, kratom, and other goodies.
## PYTHON EXERCISES (from DataSchool machine learning course) ##
https://github.com/towardsuffering/csvs/blob/master/ML-intro-course.zip
## DOCKER INSTALLATION ##
#### Windows ####
• Docker uses hyper-V for virtualization and Windows 10 needs hyper-V enabled
• Use windows subsystem for Linux 2.0 (WSL2)--for all windows 10 versions after 1903
• Go to Start → Settings → System →About →Windows specifications to check your current windows 10 version
#### Installation – Windows ####
• Open Windows Features and turn on Windows Subsystem for Linux and Virtual Machine Platform.
• Install the update package--see
https://docs.microsoft.com/en-us/windows/wsl/install-win10
• Open PowerShell and run wsl --set-default-version 2
• Open Microsoft Store and download ubuntu in Microsoft Store
• Open settings and use the WSL 2 based engine
#### MacOS ####
• Models after 2010 w/ Intel processor
• MacOS version must be after 10.14
• Check the compatibility in your terminal sysctl kern.hv_support--it shows kern.hv_support: 1
#### Installation - MacOS ####
• https://docs.docker.com/docker-for-mac/install/
• Download the dmg file
• Open the dmg file to start the installation
• Drag Docker to Applications
• Start docker
#### Older Versions ####
• https://github.com/docker/toolbox
• https://devconnected.com/how-to-install-docker-on-windows-7-8-10-home-and pro/#1_Install_Docker_on_Windows_7810_Home
