Docker – 5: Dockerfile

Author: - Posted: 15/09/22 - Update: 11/10/22

1. Tạo 1 image từ 1 container

-- Tạo 1 container tên cent từ image centos

-- Commit container cent thành image có tên myimage:v1

2. Tạo image từ Dockerfile

-- Tạo file

-- Chỉnh sửa Dockerfile

-- Tạo image từ Dockerfile

* Khác. Lưu 1 container thành 1 Images