-
Docker?
-
What is Container?
-
Language Flexibility
service A(jdk8), service B(jdk7), service C(go1.9)
-
Isolation Without Overhead
light weight
-
Developer Efficiency
Isolating Dependencies(libs, configuration)
-
Reproducibility
Containers make it easier to reproduce your application environment.
-
-
Getting Start
-
Install Docker and Editor
- get-docker
- install windows home
WSL2 must be installed before you can install and use Docker. - Install VSCode & Docker Plugin
-
Hello World Docker
docker run hello-world
-
Docker run: behind the scenes
- Docker looks for the image on this computer
- Is it installed
- Docker searches Docker Hub for the image.
- Is it on Docker Hub
- Docker downloads the image
- The image layers are installed on the computer
- Docker create a new container and starts the program.
- The container is running.
-
-
Docker Commands
- Basic Commands: run, ls, rm, ps, start, stop, help
- Docker Image: image
- Docker Container: container
-
Docker Image
-
lab 01. Create Docker Image from Scratch
- Web API
- Modify, Commit, and Tag
- Sign Up https://hub.docker.com
- Push Image to hub.docker.com
- Pull and Run
- Bind port
-
lab 02. Create Docker Image from Dockerfile
- Reference
- FROM, COPY, RUN, CMD, ENTRYPOINT
- Dockerfile best practices
- Pull and Run
- Bind port
- Reference
-
Create Docker Image for Node and ReactJs
-
Create Docker Image for Nginx and Embedded Static files
-
-
Docker Network
-
Running Frontend and Backend Service without docker-compose
- Hello, World API 0.0.1
- My Alpine
-
-
Docker Compose(intro) =================================
- docker compose version
- One service(Store Service)
- Command: Up/Down
- Option: --build --force-recreate ===============================
-
Study the web application architecture
-
Analysis and design how to use docker
-
Define the implementation steps of using docker
- Define ReactJs App Endpoint
- Define Nginx Upstream
- Define Nginx Root Context
- Define Nginx Location
-
Notifications
You must be signed in to change notification settings - Fork 0
boyone/docker-101
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published