20200915 初識 Docker
課堂資料
安裝 Docker
SET UP THE REPOSITORY
yum install -y yum-utilsyum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repoyum install epel-release -y yum install epel-release -y INSTALL DOCKER ENGINE
yum install docker-ce docker-ce-cli containerd.io

驗證 DOCKER

啟動 DOCKER

課堂練習
讓 VM2 ( 第二台虛擬機 ) 透過 VM1 ( 第一台虛擬機 ) 進行廣告阻擋
1. Pull the Docker image

2. Create directories for persistent configuration and data








3. Create and run the container

連網測試



Last updated