Docker

Install Docker On Windows 10

Setup an account on https://hub.docker.com

Get the latest installer from download.docker.com and then run the wizard.
Read the the license and if contents are ok agree to authorize the installer to proceed with the install. Privileged access is needed (requiring authentication) to install networking components, links to the Docker apps, and manage the Hyper-V VMs. After installer finishes you can run Docker for Windows desktop App.


Installing Docker on Raspberry Pi

!/usr/bin/env bash
UPDATE_COMPLETE= false
UPGARDE_COMPLETE= false
AUTOREMOVE_COMPLETE= false
echo "Starting Update -----------------------"
apt-get update
echo "Starting Upgrade -----------------------"
apt-get upgrade
echo "autoremoving -----------------------"
apt autoremove -y
echo "Installing NodeJS and npm -----------------------"
apt-get install nodejs npm
npm install -g http-server
echo "adding Docker -----------------------"
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
groupadd docker
gpasswd -a $USER docker
newgrp docker
docker run hello-world
echo "Finished -----------------------"
echo "Node $(node -v)"
echo "npm $(npm -v)"
echo "docker $(docker -v)"

Create Test Website

touch /home/pi/Public/index.html