Setting Docker Image Caching
วิธีเปิดใช้งานและตั้งค่า image caching บน instance
Last updated
Was this helpful?
วิธีเปิดใช้งานและตั้งค่า image caching บน instance
Last updated
Was this helpful?
ต้องมี instance อยู่ใน project หากไม่มี ศึกษาได้จาก
สำหรับ image ที่ไม่ใช่ distribution image จะต้อง config registry mirror ไปที่
Access เข้าแก้ไข file /etc/docker/daemon.json โดยใช้ command
และเพิ่มค่าดังนี้ลงไปใน file
จากนั้นออกจาก editor และ save file
Restart Docker service โดยใช้ command
ตรวจสอบว่า config เสร็จเรียบร้อยดีหรือไม่ โดยใช้ command
registry mirrors ควรแสดงดังรูปด้านล่าง ก็เป็นอันเสร็จสิ้น