An open API service indexing awesome lists of open source software.

https://github.com/muhammadfarooq85/all-about-docker

This repository is about docker. It covers almost every aspect of docker in easy and understandable way.
https://github.com/muhammadfarooq85/all-about-docker

docker docker-compoose docker-containers docker-image

Last synced: 10 months ago
JSON representation

This repository is about docker. It covers almost every aspect of docker in easy and understandable way.

Awesome Lists containing this project

README

          

## The concept of containerization itself is pretty old. But the emergence of the Docker Engine in 2013 has made it much easier to containerize your applications.

## According to the Stack Overflow Developer Survey - 2020, Docker is the #1 most wanted platform, #2 most loved platform, and also the #3 most popular platform.

## As in-demand as it may be, getting started can seem a bit intimidating at first. So in this book, we'll be learning everything from the basics to a more intermediate level of containerization. After going through the entire book, you should be able to:

- Containerize (almost) any application
- Upload custom Docker Images to online registries
- Work with multiple containers using Docker Compose

## Prerequisites

- Familiarity with the Linux Terminal
- Familiarity with JavaScript (some later projects use JavaScript)

## Table of Contents

- Introduction to Containerization and Docker
- How to Install Docker on Windows
- Hello World in Docker - Intro to Docker Basics
- What is a Container?
- What is a Docker Image?
- What is a Docker Registry?
- Docker Architecture Overview
- The Full Picture
- Docker Container Manipulation Basics
- How to Run a Container
- How to Publish a Port
- How to Use Detached Mode
- How to List Containers
- How to Name or Rename a Container
- How to Stop or Kill a Running Container
- How to Restart a Container
- How to Create a Container Without Running
- How to Remove Dangling Containers
- How to Run a Container in Interactive Mode
- How to Execute Commands Inside a Container
- How to Work With Executable Images
- Docker Image Manipulation Basics
- How to Create a Docker Image
- How to Tag Docker Images
- How to List and Remove Docker Images
- How to Understand the Many Layers of a Docker Image
- How to Build NGINX from Source
- How to Optimize Docker Images
- Embracing Alpine Linux
- How to Create Executable Docker Images
- How to Share Your Docker Images Online
- How to Containerize a JavaScript Application
- How to Write the Development Dockerfile
- How to Work With Bind Mounts in Docker
- How to Work With Anonymous Volumes in Docker
- How to Perform Multi-Staged Builds in Docker
- How to Ignore Unnecessary Files
- Network Manipulation Basics in Docker
- Docker Network Basics
- How to Create a User-Defined Bridge in Docker
- How to Attach a Container to a Network in Docker
- How to Detach Containers from a Network in Docker
- How to Get Rid of Networks in Docker
- How to Containerize a Multi-Container JavaScript Application
- How to Run the Database Server
- How to Work with Named Volumes in Docker
- How to Access Logs from a Container in Docker
- How to Create a Network and Attaching the Database Server in Docker
- How to Write the Dockerfile
- How to Execute Commands in a Running Container
- How to Write Management Scripts in Docker
- How to Compose Projects Using Docker-Compose
- Docker Compose Basics
- How to Start Services in Docker Compose
- How to List Services in Docker Compose
- How to Execute Commands Inside a Running Service in Docker Compose
- How to Access Logs from a Running Service in Docker Compose
- How to Stop Services in Docker Compose
- How to Compose a Full-stack Application in Docker Compose
- Conclusion