
Learning Docker through Pictures
Description
Book Introduction
A step-by-step guide to learning Docker from basic to advanced use.
When following along with Docker, you may find yourself executing commands but having trouble understanding their exact behavior, or creating an image only to find the container doesn't launch. It's often confusing to discern the true difference between seemingly similar concepts like RUN and CMD.
It is difficult to properly understand the principles of Docker by simply entering commands.
This book is an introductory book designed to help you learn the core contents step by step, from the basic concepts of Docker to setting up a development environment.
Commands and concepts are explained with pictures so that anyone can easily understand them, and various examples that can be used in practice are also provided.
Learn essential concepts such as Docker containers, images, networks, and volumes, and even cover in detail how to set up a development environment using Docker Compose.
Additionally, it introduces operational precautions and debugging know-how to help you utilize Docker more effectively in practice.
Through this book, let's learn step-by-step how to properly understand Docker and apply it in practice.
When following along with Docker, you may find yourself executing commands but having trouble understanding their exact behavior, or creating an image only to find the container doesn't launch. It's often confusing to discern the true difference between seemingly similar concepts like RUN and CMD.
It is difficult to properly understand the principles of Docker by simply entering commands.
This book is an introductory book designed to help you learn the core contents step by step, from the basic concepts of Docker to setting up a development environment.
Commands and concepts are explained with pictures so that anyone can easily understand them, and various examples that can be used in practice are also provided.
Learn essential concepts such as Docker containers, images, networks, and volumes, and even cover in detail how to set up a development environment using Docker Compose.
Additionally, it introduces operational precautions and debugging know-how to help you utilize Docker more effectively in practice.
Through this book, let's learn step-by-step how to properly understand Docker and apply it in practice.
- You can preview some of the book's contents.
Preview
index
[Part 1: Virtualization and Docker Basics]
Chapter 1 Virtualization
_1.1 Physical and Virtual Machines
_1.2 Types of virtualization software
_1.3 Containerized Virtualization Features
Chapter 2: Exploring Docker and Its Surrounding Components
_2.1 Docker Components
_2.2 Container and Image Specifications
Chapter 3: Installing Docker
_3.1 Using Docker on Windows
_3.2 Using Docker on macOS
Chapter 4: Docker Basics and Principles
_4.1 Commands and Processes
_4.2 Container
_4.3 Image
_4.4 Dockerfile
_4.5 Basic knowledge of commands
_4.6 Command Cheat Sheet
[Part 2: Using Docker Containers]
Chapter 5 Container Basics
_5.1 Container Status and Processes
_5.2 Container Commands
Chapter 6: Basic Container Operations
_6.1 Running a container container run
_6.2 Check the container list container ls
_6.3 Stopping a container container stop
_6.4 Deleting a container container rm
Chapter 7: Inline Execution with a Ruby Container
_7.1 Executing arbitrary processing when running a container container run [COMMAND]
_7.2 Naming a container container run --name
_7.3 Automatically delete when container stops container run --rm
Chapter 8: Communicating with Containers by Running a Python Interactive Shell
_8.1 Operating a container in interactive mode container run --interactive --tty
Chapter 9: Running an Nginx Server and Accessing It from a Browser
_9.1 Publishing container ports container run --publish
Chapter 10 Running the MySQL Server in the Background
_10.1 Setting container environment variables container run --env
_10.2 Running a container in the background container run --detach
Chapter 11: Running a PostgreSQL Server and Checking Things Out
_11.1 Checking container output container logs
_11.2 Running commands on a running container container exec
_11.3 Summary of how to connect to a PostgreSQL server
[Part 3: Using Docker Images]
Chapter 12: Basic Content of Images
_12.1 Why should we understand image manipulation?
_12.2 Full image name and tag
_12.3 Layers and Metadata
_12.4 Image Commands
Chapter 13: Basic Image Manipulation
_13.1 Check the image list image ls
_13.2 Acquiring an image image pull
_13.3 Check image details image inspect
Chapter 14 Running Different Versions of MySQL Server
_14.1 Finding Images on Docker Hub
_14.2 Tagging images when running containers
Chapter 15: Building and Sharing an Ubuntu Image with Vi Installed
_15.1 Installing vi in a container
_15.2 Container Image Commit
_15.3 Image the container with tar container export + image import
_15.4 Tar the image and reimage it image save + image load
[Part 4: How to Use Dockerfiles]
Chapter 16: Dockerfile Basics
_16.1 Why Dockerfiles Are Needed
_16.2 Interpreting Layer Information in Docker Hub
_16.3 Dockerfile Command List
Chapter 17: Creating an Ubuntu Image That Can Use vi
_17.1 Specifying a base image FROM
_17.2 Building an image with a Dockerfile image build
_17.3 Confirming the layer by executing the command RUN
Chapter 18 Creating a MySQL Image with Time Zone and Log Output Settings
_18.1 Specifying image environment variables ENV
_18.2 Adding files from the host machine to the image COPY
Chapter 19: Creating a Python Image That Runs a Web Server When Running
_19.1 Specifying a command when running a container CMD
[Part 5: Advanced Docker Container Utilization]
Chapter 20: Volume and Network Fundamentals
_20.1 volume
_20.2 Network
Chapter 21: Preventing MySQL Container Data from Disappearing
_21.1 Create a volume volume create
_21.2 Mounting a volume when running a container container run --mount
Chapter 22: Running Files Edited on the Host Machine in a Ruby Container
_22.1 Using bind mount container run --mount
_22.2 Differences between volume and bind mounts
Chapter 23: Communicating with a MySQL Container from a PHP Container
_23.1 Creating a network network create
_23.2 Connecting to the network when running a container container run --network
_23.3 Container Communication Using the Basic Bridge Network
[Part 6: Advanced Docker Container Utilization]
Organizing Chapter 24
_24.1 Web services to be created in the future
_24.2 Organizing the configuration
_24.3 Summary of this chapter
Chapter 25: Preparing the Required Images
_25.1 Creating a directory
_25.2 Organizing DB images
_25.3 Organizing email images
_25.4 Preparing the app image
_25.5 Summary of this chapter
Chapter 26: Preparing Resources Other Than Containers
_26.1 Organizing App Containers
_26.2 Organizing DB containers
_26.3 Organizing Mail Containers
_26.4 Summary of this chapter
Chapter 27: Container Operations
_27.1 Running the app, DB, and mail containers
_27.2 Checking the browser
Chapter 28: Using Docker Compose
_28.1 Docker Compose Basics
_28.2 Porting docker commands to compose.yaml
_28.3 Docker Compose Basic Operations
[Precautions and Troubleshooting When Operating Part 7]
Chapter 29: Docker Desktop Paid Plans and Docker Accounts
_29.1 Docker Desktop Paid Plan
_29.2 Docker Account
Chapter 30: Using Docker in Projects
_30.1 Parameterize compose.yaml values with environment variables
_30.2 Excluding files from build with .dockerignore
_30.3 Merging Multiple Docker Compose Files
Chapter 31: Using Docker on Apple Silicon Macs
_31.1 Instruction Set Structure
_31.2 Coexistence of Docker execution environments of different ISAs
Chapter 32 Debugging Methods
_32.1 Organizing the current status
_32.2 Narrowing the Scope of the Problem
Chapter 1 Virtualization
_1.1 Physical and Virtual Machines
_1.2 Types of virtualization software
_1.3 Containerized Virtualization Features
Chapter 2: Exploring Docker and Its Surrounding Components
_2.1 Docker Components
_2.2 Container and Image Specifications
Chapter 3: Installing Docker
_3.1 Using Docker on Windows
_3.2 Using Docker on macOS
Chapter 4: Docker Basics and Principles
_4.1 Commands and Processes
_4.2 Container
_4.3 Image
_4.4 Dockerfile
_4.5 Basic knowledge of commands
_4.6 Command Cheat Sheet
[Part 2: Using Docker Containers]
Chapter 5 Container Basics
_5.1 Container Status and Processes
_5.2 Container Commands
Chapter 6: Basic Container Operations
_6.1 Running a container container run
_6.2 Check the container list container ls
_6.3 Stopping a container container stop
_6.4 Deleting a container container rm
Chapter 7: Inline Execution with a Ruby Container
_7.1 Executing arbitrary processing when running a container container run [COMMAND]
_7.2 Naming a container container run --name
_7.3 Automatically delete when container stops container run --rm
Chapter 8: Communicating with Containers by Running a Python Interactive Shell
_8.1 Operating a container in interactive mode container run --interactive --tty
Chapter 9: Running an Nginx Server and Accessing It from a Browser
_9.1 Publishing container ports container run --publish
Chapter 10 Running the MySQL Server in the Background
_10.1 Setting container environment variables container run --env
_10.2 Running a container in the background container run --detach
Chapter 11: Running a PostgreSQL Server and Checking Things Out
_11.1 Checking container output container logs
_11.2 Running commands on a running container container exec
_11.3 Summary of how to connect to a PostgreSQL server
[Part 3: Using Docker Images]
Chapter 12: Basic Content of Images
_12.1 Why should we understand image manipulation?
_12.2 Full image name and tag
_12.3 Layers and Metadata
_12.4 Image Commands
Chapter 13: Basic Image Manipulation
_13.1 Check the image list image ls
_13.2 Acquiring an image image pull
_13.3 Check image details image inspect
Chapter 14 Running Different Versions of MySQL Server
_14.1 Finding Images on Docker Hub
_14.2 Tagging images when running containers
Chapter 15: Building and Sharing an Ubuntu Image with Vi Installed
_15.1 Installing vi in a container
_15.2 Container Image Commit
_15.3 Image the container with tar container export + image import
_15.4 Tar the image and reimage it image save + image load
[Part 4: How to Use Dockerfiles]
Chapter 16: Dockerfile Basics
_16.1 Why Dockerfiles Are Needed
_16.2 Interpreting Layer Information in Docker Hub
_16.3 Dockerfile Command List
Chapter 17: Creating an Ubuntu Image That Can Use vi
_17.1 Specifying a base image FROM
_17.2 Building an image with a Dockerfile image build
_17.3 Confirming the layer by executing the command RUN
Chapter 18 Creating a MySQL Image with Time Zone and Log Output Settings
_18.1 Specifying image environment variables ENV
_18.2 Adding files from the host machine to the image COPY
Chapter 19: Creating a Python Image That Runs a Web Server When Running
_19.1 Specifying a command when running a container CMD
[Part 5: Advanced Docker Container Utilization]
Chapter 20: Volume and Network Fundamentals
_20.1 volume
_20.2 Network
Chapter 21: Preventing MySQL Container Data from Disappearing
_21.1 Create a volume volume create
_21.2 Mounting a volume when running a container container run --mount
Chapter 22: Running Files Edited on the Host Machine in a Ruby Container
_22.1 Using bind mount container run --mount
_22.2 Differences between volume and bind mounts
Chapter 23: Communicating with a MySQL Container from a PHP Container
_23.1 Creating a network network create
_23.2 Connecting to the network when running a container container run --network
_23.3 Container Communication Using the Basic Bridge Network
[Part 6: Advanced Docker Container Utilization]
Organizing Chapter 24
_24.1 Web services to be created in the future
_24.2 Organizing the configuration
_24.3 Summary of this chapter
Chapter 25: Preparing the Required Images
_25.1 Creating a directory
_25.2 Organizing DB images
_25.3 Organizing email images
_25.4 Preparing the app image
_25.5 Summary of this chapter
Chapter 26: Preparing Resources Other Than Containers
_26.1 Organizing App Containers
_26.2 Organizing DB containers
_26.3 Organizing Mail Containers
_26.4 Summary of this chapter
Chapter 27: Container Operations
_27.1 Running the app, DB, and mail containers
_27.2 Checking the browser
Chapter 28: Using Docker Compose
_28.1 Docker Compose Basics
_28.2 Porting docker commands to compose.yaml
_28.3 Docker Compose Basic Operations
[Precautions and Troubleshooting When Operating Part 7]
Chapter 29: Docker Desktop Paid Plans and Docker Accounts
_29.1 Docker Desktop Paid Plan
_29.2 Docker Account
Chapter 30: Using Docker in Projects
_30.1 Parameterize compose.yaml values with environment variables
_30.2 Excluding files from build with .dockerignore
_30.3 Merging Multiple Docker Compose Files
Chapter 31: Using Docker on Apple Silicon Macs
_31.1 Instruction Set Structure
_31.2 Coexistence of Docker execution environments of different ISAs
Chapter 32 Debugging Methods
_32.1 Organizing the current status
_32.2 Narrowing the Scope of the Problem
Detailed image

Publisher's Review
This book is a guide for beginners who want to easily understand Docker.
Using rich illustrations, we explain Docker step-by-step, from basic concepts to setting up an actual development environment.
You can learn the overall flow of Docker through practical examples that cover everything from container creation to image building and Docker Compose utilization.
Additionally, it covers practical skills such as writing Dockerfiles, utilizing Docker Compose, and setting up networks, as well as points to note during operation and troubleshooting methods.
The text emphasizes key content using POINT and COLUMN formats along with friendly picture explanations, and also includes practical tips for Windows and Mac users.
Through this book, you'll learn Docker from the basics to practical application, and create a more efficient development environment.
Using rich illustrations, we explain Docker step-by-step, from basic concepts to setting up an actual development environment.
You can learn the overall flow of Docker through practical examples that cover everything from container creation to image building and Docker Compose utilization.
Additionally, it covers practical skills such as writing Dockerfiles, utilizing Docker Compose, and setting up networks, as well as points to note during operation and troubleshooting methods.
The text emphasizes key content using POINT and COLUMN formats along with friendly picture explanations, and also includes practical tips for Windows and Mac users.
Through this book, you'll learn Docker from the basics to practical application, and create a more efficient development environment.
GOODS SPECIFICS
- Date of issue: February 24, 2025
- Page count, weight, size: 404 pages | 183*235*16mm
- ISBN13: 9791169213479
- ISBN10: 1169213472
You may also like
카테고리
korean
korean