Andrew Gurung
  • Introduction
  • Data Science
    • Natural Language Processing
      • Sentiment analysis using Twitter
    • Linear Algebra
      • Linear algebra explained in four pages
      • Vectors
        • Vector Basics
        • Vector Projection
        • Cosine Similarity
        • Vector Norms and Orthogonality
        • Linear combination and span
        • Linear independence and Basis vectors
      • Matrices
        • Matrix Arithmetic
        • Matrix Operations
        • Functions and Linear Transformations
        • Matrix types
      • Eigendecomposition, Eigenvectors and Eigenvalues
      • Principle Component Analysis (PCA)
      • Singular-Value Decomposition(SVD)
      • Linear Algebra: Deep Learning Book
    • Calculus
      • Functions, Limits, Continuity and Differentiability
      • Scalar Derivative and Partial Derivatives
      • Gradient
      • Matrix Calculus
      • Maxima and Minima using Derivatives
      • Gradient Descent and its types
    • Statistics and Probability
      • Probability Rules and Axioms
      • Types of Events
      • Frequentist vs Bayesian View
      • Random Variables
      • MLE, MAP, and Naive Bayes
      • Probability Distributions
      • P-Value and hypothesis test
    • 7 Step DS Process
      • 1: Business Requirement
      • 2: Data Acquisition
      • 3: Data Processing
        • SQL Techniques
        • Cleaning Text Data
      • 4: Data Exploration
      • 5: Modeling
      • 6: Model deployment
      • 7: Communication
    • Miscellaneous
      • LaTeX commands
  • Computer Science
    • Primer
      • Big O Notation
  • Life
    • Health
      • Minimalist Workout Routine
      • Reddit FAQ on Nootropics
      • Hiking/Biking Resources
    • Philosophy
      • Aristotle's Defense of Private Property
    • Self-improvement
      • 100 Mental Models
      • Don't break the chain
      • Cal Newport's 5 Productivity tips
      • Andrew Ng's advice on deliberate practice
      • Atomic Habits
      • Turn sound effects off in Outlook
    • Food and Travel
      • 2019 Guide to Pesticides in Produce
      • Recipe
        • Spicy Sesame Noodles
      • Travel
        • Hiking
    • Art
      • Scott Adams: 80% of the rules of good writing
      • Learn Blues Guitar
    • Tools
      • Software
        • Docker
        • Visual Studio Code
        • Terminal
        • Comparing Git Workflow
      • Life Hacks
        • DIY Deck Cleaner
  • Knowledge Vault
    • Book
      • The Almanack of Naval Ravikant
    • Media
    • Course/Training
Powered by GitBook
On this page
  • Learn Enough Docker to be Useful
  • Part 1: The Conceptual Landscape
  • Docker Containers
  • Docker Image
  • Dockerfile
  • Container Registry
  • Part 2: A Delicious Dozen Docker Terms You Need to Know
  • Part 3: A Dozen Dandy Docker file Instructions
  • Part 4: Slimming Down Your Docker Images
  • Part 5:15 Docker Commands You Should Know
  • Part 6: Pump up the Volumes: Data in Docker

Was this helpful?

  1. Life
  2. Tools
  3. Software

Docker

PreviousSoftwareNextVisual Studio Code

Last updated 6 years ago

Was this helpful?

Learn Enough Docker to be Useful

Part 1: The Conceptual Landscape

  • Docker is a platform to develop, deploy, and run applications inside containers.

  • Docker containers are superior to virtual machines because they take fewer resources, are very portable, and are faster to spin up.

Docker Containers

  • Holds things: There are things both inside and outside of a container

  • Is portable: Cam be used your local machine, coworker's machine or on the cloud

  • Has clear interfaces for access: Configure to interact through the command line

  • Can be obtained from a remote location: Registry keeps an image which can create containers on demand

  • Docker container is a Docker image brought to life

  • Superior to virtual machines because containers take fewer resources, are very portable, and are faster to spin up

Docker Image

  • An image contains the Dockerfile, libraries, and code your application needs to run, all bundled together

  • docker run image_name creates and starts a container from an image

Dockerfile

  • A recipe file with instructions for how Docker should build your image

  • Base image layer: Used to build the initial image layer

    • Example: ubuntu, node

  • Additional layers can then be stacked on top of the base image layers

    • Example: Libraries such as alfresco-content-repository, es6-angular-webpack

  • Thin writable layer

Container Registry

  • Share your image with others

Part 2: A Delicious Dozen Docker Terms You Need to Know

Part 3: A Dozen Dandy Docker file Instructions

Part 4: Slimming Down Your Docker Images

Part 5:15 Docker Commands You Should Know

Part 6: Pump up the Volumes: Data in Docker

is the largest registry

Docker Hub
https://towardsdatascience.com/learn-enough-docker-to-be-useful-1c40ea269fa8
https://towardsdatascience.com/learn-enough-docker-to-be-useful-b0b44222eef5
https://towardsdatascience.com/slimming-down-your-docker-images-275f0ca9337e
https://towardsdatascience.com/15-docker-commands-you-should-know-970ea5203421
https://towardsdatascience.com/pump-up-the-volumes-data-in-docker-a21950a8cd8
https://towardsdatascience.com/learn-enough-docker-to-be-useful-b7ba70caeb4btowardsdatascience.com