How To Install Docker On Windows 10 Home
Docker on Windows ten Home
Installing Docker on Windows x Home edition is similar trying to put a square peg in a round hole with your hands tied behind your back, during a hail storm while running abroad from a bipolar rottweiler on PCP. In other words: yous might get information technology done, only not without shedding blood, sweat and tears (did I mention blood).
To avoid the loss of precious fluids, yous can either upgrade your Windows 10 version or follow my recipe below. Let's starting time with the basics. You lot cannot install Docker for Windows on Windows 10 Dwelling according to the documentation.
Organization Requirements:
Windows 10 64bit: Pro, Enterprise or Education (1607 Ceremony Update, Build 14393 or later).Annotation: If your system does not meet the requirements to run Docker for Windows, you lot tin install Docker Toolbox, which uses Oracle Virtual Box instead of Hyper-Five.
This gives us the pick to install Docker Toolbox, just Docker Toolbox is somewhat outdated, so I'm going to add together some other option and give yous ii:
- Install Docker Toolbox on Windows ten Dwelling (mentioned above),
- Install a Linux virtual machine (VM) on our Windows Os, and and then Install Docker Community on the VM.
I'yard going to show you lot both options and allow you choose the best mode. Hint: the best fashion is a little bit of #1 and big bit of #two.
Configure Windows ten Home
- Check that your system has Virtualization enabled. Enter your automobile'due south BIOS and enable virtualization.
- Once your computer boots upwardly, make certain that Hypervisor is turned OFF. In Windows Search Box type: Turn Windows features on or off. Make certain "Windows Hypervisor Platform" is Unchecked.
Install Docker Toolbox
- Get to the Docker-Toolbox page.
- Download and brand sure to follow the directions on the page.
- Brand sure you lot take all iii of these applications installed:
- Docker Quickstart
- Oracle VM Virtual Box
- Kitematic (Alpha)
Choose how you want to complete the Docker install
Now we've reached a fork in the route. We turn onto Linux highway, or go down Docker Toolbox lane. Red pill or blue pill? Or both pills? Let'southward go.
- If you want to install Linux: keep reading beneath (recommended),
- If you lot want to go on with the Docker Toolbox install: meet my Github-guide
Get Linux and Configure Oracle VM Virtual Box
Download a Linux distribution. Here are a few options uniform with Docker CE:
- Linux Mint
- Ubuntu
- Fedora
- CentOS
- Debian
Setup your virtual machine
The example below is from my installation. Please use your specific details where necessary.
- Click on the Oracle VM Virtual Box icon
- Click New and pace through the dialog boxes,
- Enter a Proper noun "Linux Mint xix", SelectType: Linux, SelectVersion: Ubuntu (see example)
- Retentiveness Size: 4096,
- Hard Drive: Cull Create a virtual hard disk drive at present,
- Hard Disk file type: VDI,
- Storage on concrete hard disk: Dynamically allocated,
- File location and size: 20.00GB,
- Once the virtual machine is setup click Start on the Virtual Box card (run into example),
- Choose the Linux file (.iso) on your local machine when Virtual Box asks for information technology,
- Install your Linux distribution (distro) on your guest motorcar.
I used Linux Mint for my distro. If you lot happen to meet a distorted/pixelated screen try these remedies.
Installing Docker CE on your Linux virtual automobile
Now let's get some containers on this ship.
- Enter the Linux VM that y'all installed above,
- Follow the general install instructions from Docker
- Or follow what I did beneath for my setup.
My Docker installation on a Linux VM
- Open a terminal in your Linux environment.
Update bundle utility:
sudo apt-become update
Install packages:
sudo apt-get install apt-transport-https ca-certificates curlicue software-properties-common
Practice the GPG central matter:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Check the key. Below is for what I installed. Visit the Docker folio for the latest instructions.
sudo apt-key fingerprint 0EBFCD88
Download the repository; (below is when using Ubuntu base version of Linux Mint nineteen Tara):
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
Update:
sudo apt-get update
Install the latest Docker CE:
sudo apt-get install docker-ce
Verify Docker CE:
sudo docker run hello-world
If it works, you will get some text that tells your installation is working.
Docker House Keeping…
I don't like to enter sudo before I enter various Docker commands — I'thou a rebel like that — and so I added my Linux user to the Docker grouping. Consult your local security skilful or read the documentation if you're nervous.
Create the docker grouping:
sudo groupadd docker
Mine existed already, then I just added my username = $USER to the docker group, where $USER is your Linux user.
sudo usermod -aG docker $USER
Restart the VM and test some commands on your $USER without the sudo command.
docker run hullo-world
This will lists your docker images:
docker images
Get information on your install:
docker info
Now that you've survived the installation of Docker on Windows 10 Home edition without sustaining a mortal injury, go along and dockerize the shit out of everything.
How To Install Docker On Windows 10 Home,
Source: https://medium.com/@mbyfieldcameron/docker-on-windows-10-home-edition-c186c538dff3
Posted by: wilkersonnotemed.blogspot.com
0 Response to "How To Install Docker On Windows 10 Home"
Post a Comment