Quantcast
Channel: Cloud Training Program
Viewing all articles
Browse latest Browse all 1902

Docker Installation Overview

$
0
0

Docker is an open-source tool designed to make it easier to create, deploy, and run applications by using containers. Docker is the best container orchestration tool and most of the big companies now using docker to deploy applications.

This  blog post covers Basic Overview for installing docker i.e different Docker Edition, how to practice docker also we are covering:

    1. Docker Installation Overview
    2. Install Docker on Ubuntu 18.04
    3. Install Docker for mac
    4. Install Docker on Windows 10
    5. Install Docker on Windows | Older Versions

Docker Installation Overview ^

Docker Edition-

There are two types of docker editions that are available in the market

1) Docker Community Edition(CE)

2) Docker Enterprize Edition(EE)

Docker Community Edition(CE) is the free version which is the open-source platform and Docker Enterprize Edition(EE) is the premium version and Docker CE with certification on some systems and support by Docker Inc.

How to Practice Docker

There are three ways to practice Docker-
a) First is Sandbox in this, you will get a 4 hour free Docker environment per day by Play With Docker which is sponsored by Docker.
b) The second and recommended method is You can create a Ubuntu Virtual Machine on a free Azure account and then proceed with installing Docker.
c) The third method is Install Docker on your On-premise Desktop/Laptop.

Install Docker On Ubuntu 18.04  ^

To get started with Docker Engine on Ubuntu, make sure your system meets the prerequisites, then install Docker.

System Requirements

  • To install Docker Engine, you need the 64-bit Ubuntu version.
  • One Ubuntu server set up with a non-root user with sudo privileges and a basic firewall.

Installation Steps

  1. First Update Software RepositoriesDocker Ubuntu Install
  2. Uninstall Old Versions of Docker (Optional: Only if docker was already installed on this host and you want to configure it again)
  3. Next, install DockerDocker Install Ubuntu
  4. Then start and Enable Docker
  5. Check Docker statusDocker Install Ubuntu
  6. Check Docker VersionDocker Install Ubuntu

Install Docker for mac ^

Docker for Mac offers a Mac native application that installs in /Applications. It creates symlinks (symbolic links) in /usr/local/bin for docker and docker-compose to the Mac versions of the commands in the application bundle.

System Requirements

  1. 2010 or newer, with Intel’s hardware Memory Management Unit (MMU).
  2. mac OS version should be 10.13 or newer.
  3. At least 4 GB of RAM.
  4. You must not have a VirtualBox installation earlier than version 4.3.30 on your system. If you do, you’ll need to uninstall it.

Installation Steps

  1. Download Docker for Mac from the here
  2. Click on the Docker.dmg file you have just downloaded to mount the image and open the installer.
  3. Drag and drop the Docker.app file into the Applications directory. Once you have dragged the Docker icon to your Applications folder, double-click on it and you will be asked whether you want to open the application you have downloaded. Saying yes will open the Docker installer:Docker Install on Mac
  4. Click next on the installer screen and follow the instructions in the installer.Docker Install on Mac
  5. Once installed you would see an icon in the top-right icon bar.
  6. Click the icon in the icon bar to check the “About Docker” page.
  7. Next, you can also open a terminal and run below command to get information on the installed docker.
  8. To check if the Docker Machine and Docker Compose are installed as well, use the command below.

Install Docker On Windows 10 ^

Docker for Windows requires Microsoft’s Hyper-V. Once enabled, VirtualBox will no longer be able to run virtual machines. Hence, you have the option to import the default VM after installing Docker for Windows from the Settings menu in the System Tray.

Docker for Windows enables Hyper-V if necessary, this requires a reboot.

System Requirements

  • Docker for Windows runs on 64-bit Windows 10 Pro, Enterprise.

Note: Docker plans to support more versions of Windows 10 in the future.

Installation Steps

  1. Download Docker
  2. Double-click InstallDocker.msi to run the installer.
  3. Follow the Install Wizard: accept the license, authorize the installer, and proceed with the install.
  4. Click Finish to launch Docker.
  5. Docker starts automatically.
  6. Docker loads a “Welcome” window giving you tips and access to the Docker documentation.

For verification open PowerShell or your favorite Windows terminal, check the versions of dockerdocker-compose, and verify your installation:

Docker install version

Install Docker On Windows | Older Versions ^

If you are running Windows 7 /8, follow these steps to install Docker Toolbox for Windows.

  1. Download Docker Toolbox for windows from this page
  2. Click DockerToolbox.exe and follow the onscreen instructions.

Once the installation is completed, click the Docker Quickstart Terminal icon on your desktop.


The terminal window will open and Docker Toolbox will perform an additional set of tasks to complete the setup. Once the setup is completed, you will see the following screen.

Related/References

Join FREE Masterclass

To know about what is the difference between Kubernetes vs Docker and Virtual machine vs Container, why you should learn Docker and KubernetesJob opportunities for Kubernetes administrator in the market, and what to study Including Hands-On labs you must perform to clear Certified Kubernetes Administrator (CKA) certification exam by registering for our FREE Masterclass.

Click on the below image to Register Our FREE Masterclass Now!CKA free masterclass

The post Docker Installation Overview appeared first on Cloud Training Program.


Viewing all articles
Browse latest Browse all 1902

Trending Articles