Run MySQL as Docker Container
What you will learn
Students should be able to understand the difference between docker image & docker container
Students should be able to install Docker CE Engine on linux based system
Students should be able to run MySQL as Docker Container
Students will convert MySQL instance into a MySQL container
Description
*** MySQL on Docker – Free Course ***
In this course students should learn:
Docker Introduction
- What is Docker
- How Docker segregate the running containers as a processes
- How each Docker process managed by its own control group
Docker Installation
- What is difference between Docker Enterprise and Docker Community Edition
- How to install Docker Engine
- How to verify if Docker Engine is installed and what is the version
- How to enable the Docker Service
- How to Start and Stop Docker Service
Docker Image
- Softwares have their sliced version converted into images
- Each image has all the dependencies and shared libraries coupled together to form an image
- How to search Docker Hub for images
- How to pull latest of specific version of an image
- What are Official Docker Images
Docker Container
- Difference between Docker Image & Docker Container
- How to create(run) a container
- How to remove a container
- How to publish Container port(s) to Host ports
- How to bind local disk-based volumes
- How to read Docker Container Logs
- How to stop and start a container
MySQL Instance to Docker Container
- How we can install both MySQLย server and Docker on the same host
- How MySQLย instance’s data directory can be bind with Docker container
- How can Docker Container run with existing MySQL Data Directory
Are there any course requirements?
- Basic understanding of Docker
- Basic understand of MySQL
Note: We will be using AWS Linux 2 to install Docker Community Edition. Since AWS Linux is Red Hat Based System so the installing the Docker on it should not be any different than installing Docker on CenOS or RedHat Linux.
English
language
Content
Introduction
Welcome to the Course
Docker Installation
Installing Docker
MySQL on Docker
MySQL Docker Image
Running MySQL as Container
Docker Container
MySQL Container Logs
Docker Host
Removing MySQL Container
Container Port vs Host Port
Creating DBA Account
Connecting to MySQL Container
Demo – Containers are Volatile
Docker Persistent Volumes
Binding Volume for Data Persistence
Demo – Persistant Volume
MySQL Instance to Docker Container
Converting MySQL Instance to Container
Demo – Attach Container to Instance DATA DIR
Course Completion
Completion Wrap Up!