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 ควรแสดงดังรูปด้านล่าง ก็เป็นอันเสร็จสิ้น