Docker-101

by Citrix-TechSpecialist

Citrix-TechSpecialist / Docker-101

This repository walks students though how to get started with Docker and basic Docker commands.

126 Stars 6 Forks Last release: Not found 19 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Table of Contents

  1. Module 0-A: Install Docker Locally
  2. Module 0-B: Access your Docker Lab Development Box
  3. Module 1: Running Docker Containers
  4. Module 2: Creating Custom Images from Dockerfiles
  5. Module 3: Using Docker Compose

Introduction

Source of Introduction: comes from an article published in InfoWold

Docker containers are self-contained execution environments—with their own, isolated CPU, memory, block I/O, and network resources—that share the kernel of the host operating system. The result is something that feels like a virtual machine, but sheds all the weight and startup overhead of a guest operating system.

To understand containers, we have to start with Linux cgroups and namespaces, the Linux kernel features that create the walls between containers and other processes running on the host. Linux namespaces, originally developed by IBM, wrap a set of system resources and present them to a process to make it look like they are dedicated to that process.

In short:

  • Namespaces :  Limits what the running process can see. I.E. processes can have their own view of the system’s resources.
  • cgroups :  Metering and limiting mechanism, they control how much of a system resource (CPU, memory) processes can use.

In comparison to virtual machines, containers feel and act like independent operating system environments, but are actually layered on top of an existing OS similar to how a VM would be on top of a hypervisor. A visual below is provided for contextual aid in comparison with traditional VM architecture vs a docker containerized architecture.

Container vs VMs

In this tutorial, we are going to gain hands on experience and learn the basics of docker containers, images, commands, and automate deployment of a simple self dockerized sandbox environment to develop scripts to issue NITRO commands to your NetScaler ADCs.

Pre-requisites

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.