<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Containers on Commentary of Takao</title><link>https://takao.blog/zh-tw/tags/containers/</link><description>Recent content in Containers on Commentary of Takao</description><generator>Hugo -- gohugo.io</generator><language>zh-TW</language><copyright>Commentary of Takao</copyright><lastBuildDate>Wed, 15 Jul 2026 22:01:08 +0900</lastBuildDate><atom:link href="https://takao.blog/zh-tw/tags/containers/index.xml" rel="self" type="application/rss+xml"/><item><title>透過多階段建置減少 Docker 映像大小</title><link>https://takao.blog/zh-tw/web/docker-multi-stage-build-reduction/</link><pubDate>Thu, 20 Mar 2025 00:00:00 +0900</pubDate><guid>https://takao.blog/zh-tw/web/docker-multi-stage-build-reduction/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/docker-multi-stage-build-reduction-zh-tw.png" alt="Featured image of post 透過多階段建置減少 Docker 映像大小" /&gt;&lt;h2 id="介紹"&gt;介紹
&lt;/h2&gt;&lt;p&gt;保持 Docker 映像佔用空間較小對於加速部署週期、降低儲存成本以及透過縮小容器的攻擊面來加強安全性至關重要。&lt;/p&gt;
&lt;p&gt;然而，簡單的 Dockerfile 建構通常會將編譯時相依性（如 gcc、標頭、建置快取）和測試工具直接捆綁到最終的執行時間映像中。這會使圖像大小從幾兆位元組膨脹到數百或千兆位元組。&lt;/p&gt;</description></item><item><title>Proxmox LXC Containers: Complete Management 指南</title><link>https://takao.blog/zh-tw/web/proxmox-lxc-containers/</link><pubDate>Wed, 22 May 2024 00:00:00 +0000</pubDate><guid>https://takao.blog/zh-tw/web/proxmox-lxc-containers/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/proxmox-lxc-containers-zh-tw.png" alt="Featured image of post Proxmox LXC Containers: Complete Management 指南" /&gt;&lt;h2 id="what-is-lxc"&gt;What is LXC?
&lt;/h2&gt;&lt;p&gt;LXC (Linux Containers) is an OS-level virtualization method that runs multiple isolated Linux systems on a single host using a shared kernel. Unlike full virtual machines, LXC containers share the host OS kernel while maintaining their own filesystem, processes, and network stack. This design makes them extremely lightweight and fast to start.&lt;/p&gt;
&lt;h2 id="lxc-vs-virtual-machines"&gt;LXC vs Virtual Machines
&lt;/h2&gt;&lt;p&gt;The choice between LXC containers and VMs depends on your isolation and performance requirements:&lt;/p&gt;</description></item></channel></rss>