Blog

Thêm trang web trên IIS

Trên Powershell Mở Powershell với quyền quản trị là Admin và tiến hành cấu hình như sau:  Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. # current Web Sites

Cấu hình thư mục ảo

Cấu hình với powershell Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. PS C:UsersAdministrator> Get-Website -Name “Default Web Site” Name ID State Physical Path Bindings —- — —– ————-

Cài đặt IIS

Cài đặt IIS (Internet Information Services) và Cấu hình Web Server. Cài đặt với Powershell mở Powershell với quyền quản trị admin và cài đặt IIS Windows PowerShell Copyright (C)

Tạo vùng lưu trữ cho Docker

Khi Container bị xóa, dữ liệu trong đó cũng bị mất, do đó cần sử dụng hệ thống tệp bên ngoài trong Containers làm bộ lưu trữ liên tục nếu

Sử dụng Dockerfile

Sử dụng dockerfile và tạo docker image tự động. ví dụ: tạo dockerfile để cài đặt IIS. PS C:UsersAdministrator> mkdir docker-test PS C:UsersAdministratordocker-test> cd docker-test PS C:UsersAdministratordocker-test> $str_file = @”

Thêm Container Images trên windows server 2019

Cài đặt IIS và thêm nó làm image cho containers. Containers được tạo mỗi lần để thực thi lệnh chạy Docker, vì vậy hãy thêm containers được thực thi mới


Contact
Nhấn để liên hệ