[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-733026-105":59,"doc-detail-733026-en":130,"doc-similar-733026":160},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","getting-started-with-chainguards-dockerfile-converter","Getting Started with Chainguard's Dockerfile Converter","","Getting Started with Chainguard's Dockerfile Converter (DFC) introduces how to streamline Dockerfile conversion into Chainguard Container Images. It explains DFC as a CLI tool that transforms complete Dockerfiles or specific FROM/RUN lines and supports multiple Linux package managers (apt, apk, yum/dnf/microdnf). The guide covers offline operation, tag and registry mappings, conversion rules for package manager instructions, non-root USER handling, and how to install and use DFC for practical workflows.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/getting-started-with-chainguards-dockerfile-converter/733026/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/getting-started-with-chainguards-dockerfile-converter/733026.png","ImageObject",300,407,{"name":92,"@type":93},"Angel","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-27","2026-11-22",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is dfc and what does it convert?","Question",{"text":112,"@type":113},"DFC is a CLI tool that converts Dockerfiles to use Chainguard Container Images. It can convert entire Dockerfiles or isolated FROM/RUN lines.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does dfc handle base images and registries in FROM lines?",{"text":117,"@type":113},"DFC rewrites registry formats in FROM lines to match Chainguard’s registry, using the user’s organization private registry. It can also change image names based on a mappings file.",{"name":119,"@type":110,"acceptedAnswer":120},"What conversion rules does dfc apply for package managers and users?",{"text":121,"@type":113},"DFC replaces apt/dnf/yum style package manager instructions with APK. It also ensures containers run as a non-root user by default by inserting a root USER directive before package installations, and then using non-root defaults.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},733026,1795383356,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},687207412472,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Getting Started with Chainguard's Dockerfile Converter  \nStreamlining Dockerﬁle Conversion with DFC  \nHi, I'm Erika!  \n● Developer Experience Engineer at Chainguard  \n○ Docs, Demos, Workshops  \n● Background in devOps and software development  \n● Wrote the public-facing user guide for DFC  \n2  \nAgenda  \n● Introduction to Chainguard Containers  \n● How DFC Works  \n● Installation and Usage  \n● Advanced Use Cases  \nIntroduction  \nDFC and Chainguard Containers  \n4  \nWhat is dfc  \n● Dockerﬁle Converter is a convenient CLI tool to convert Dockerﬁles to use Chainguard Container Images  \n● Supports Debian/Ubuntu (apt), Alpine (apk), Red Hat (yum / dnf / microdnf)  \n● Converts entire Dockerﬁles or isolated FROM / RUN lines  \n● \"Ofﬂine\" Operation  \n● Supports Chainguard Organizations and Custom Registries  \n● Ability to create custom mappings  \n● Can be incorporated into internal Go tooling as a library  \nWhy Convert to Chainguard Images?  \nMinimal, low-to-zero CVE Container Images  \n6  \nHow it Works  \nConversion explained  \n7  \nHow dfc Works  \n● FROM  \n○ dfc will change the registry in FROM lines to match Chainguard's registry format, using your organization's private registry  \n○ dfc may change the image name based on a  mappings ﬁle  \n● APK  \n○ dfc will modify package manager instructions to use APK instead of apt, dnf, etc  \n● USER  \n○ Chainguard Containers run as a non-root user by default; a USER root directive is added before package installations to provide suitable permissions  \n○ useradd-> adduser, groupadd- > addgroup  \n8  \nTag Mappings  \n● For chainguard-base, always use the latest tag  \n● When no tag is speciﬁed, or when a tag is not semantic, use latest  \n● When a tag is speciﬁed, truncate semantic to major. minor (e.g.: 1.2.3 to 1.2)  \n● For any version except chainguard-base, add-dev sufﬁx when there are RUN commands (e.g.: latest-dev,1 . 2-dev)  \n● FROM node:14 → FROM [cgr.dev/ORG/node:14-dev](cgr.dev/ORG/node:14-dev) (if stage has RUN commands)  \n● FROM node:14.17.3 → FROM [cgr.dev/ORG/node:14.17-dev](cgr.dev/ORG/node:14.17-dev) (if stage has RUN commands)  \n● FROM debian:bullseye → FROM [cgr.dev/ORG/chainguard-base:latest](cgr.dev/ORG/chainguard-base:latest) (always)  \n● FROM golang:1.19-alpine → FROM [cgr.dev/ORG/go:1.19-dev](cgr.dev/ORG/go:1.19-dev) (if stage has RUN commands)  \n● FROM node:${VERSION} → FROM [cgr.dev/ORG/node:${VERSION}-dev](cgr.dev/ORG/node:${VERSION}-dev) (if stage has RUN commands)  \n9  \nInstallation and Usage  \nInstalling and using dfc  \n10","cbCaiaXTu6jT5LmZ","https://ap.wps.com/l/cbCaiaXTu6jT5LmZ","pdf",1529370,23,"English","# Agenda\n## Introduction to Chainguard Containers\n## How DFC Works\n## Installation and Usage\n# Introduction\n## DFC and Chainguard Containers\n# What is dfc\n## Offline Operation\n## Supported Distributions\n# Why Convert to Chainguard Images?\n# How it Works\n## Conversion explained\n# How dfc Works\n## FROM line changes\n## APK package manager changes\n## USER non-root execution\n# Tag Mappings\n## chainguard-base tag rules\n## semantic tag truncation\n## adding -dev for RUN stages\n# Installing and using dfc","[{\"question\":\"What is dfc and what does it convert?\",\"answer\":\"DFC is a CLI tool that converts Dockerfiles to use Chainguard Container Images. It can convert entire Dockerfiles or isolated FROM/RUN lines.\"},{\"question\":\"How does dfc handle base images and registries in FROM lines?\",\"answer\":\"DFC rewrites registry formats in FROM lines to match Chainguard’s registry, using the user’s organization private registry. It can also change image names based on a mappings file.\"},{\"question\":\"What conversion rules does dfc apply for package managers and users?\",\"answer\":\"DFC replaces apt/dnf/yum style package manager instructions with APK. It also ensures containers run as a non-root user by default by inserting a root USER directive before package installations, and then using non-root defaults.\"}]","Getting Started with Chainguard's Dockerfile Converter | PDF",58,[146,150,153,157],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/14456cc5f53783c4778805aa757d23f0.webp",983,552,{"page_no":14,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/1bfc76fc26ee3f8c55dee32ef7958caf.webp",982,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/550dad7d45849f85471cb65f317efb55.webp",981,551,{"page_no":19,"url":158,"width":159,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-22/2f983933da9f01daf2553435118c452d.webp",980,{"list":161,"token":66},[162,168,174,180,186,192,199,206,213,219],{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":52,"category_name":30,"create_tm":167},692303,"Node.js Installation Guide - Install Node.js on Windows, Linux & Mac OS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003199787/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=DYceJuVUkqguzg%2B%2BJh80BAI3BuI%3D","nodejs-installation-guide-install-nodejs-on-windows-linux-mac-os",1794192929,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":39,"category_name":30,"create_tm":173},687687,"Atelier B 4.7.1 Community Edition - Installation Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001263458/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=045s06MtTzC%2BIx1gKcouAFlsDKk%3D","atelier-b-471-community-edition-installation-guide",1794084567,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":19,"category_name":30,"create_tm":179},681825,"EPBZ-IMB-22-0032-8 RZ/V2L Easy Download Guide - Easy No 1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999226471/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=CpLeeCwb9HOdI9HSfKP96nrztAI%3D","epbz-imb-22-0032-8-rzv2l-easy-download-guide-easy-no-1",1793954882,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":81,"category_name":30,"create_tm":185},733198,"PureID VR5 Installation Guide - How to set up profiles and passwordless login","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031786308/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=8LBKXSaam8evNFiz60FKLOdgV1Q%3D","pureid-vr5-installation-guide-how-to-set-up-profiles-and-passwordless-login",1795384189,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":81,"category_name":30,"create_tm":191},734084,"Country Code Configuration for Embedded Wireless Modules - Silex Radio Modules on Linux Platforms - Linux/Android Driver","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031819010/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=qUhpX6PIpmDbCwoM0BIuoB6bjTU%3D","country-code-configuration-for-embedded-wireless-modules-silex-radio-modules-on-linux-platforms-linuxandroid-driver",1795389801,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":30,"create_tm":198},673518,"Installation Guide - 2022 MS SQL Server on Ubuntu Linux (20.4)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990906935/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=fD4hzWElCxZWU6eP0jub6Qk95R4%3D","installation-guide-2022-ms-sql-server-on-ubuntu-linux-204",13,1793647486,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":30,"create_tm":205},344991,"Convert XML to PDF - Online Conversion Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910870405/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=EiLv0TO6IJBW1mF6C7EaX2jpheE%3D","convert-xml-to-pdf-online-conversion-guide",18,1790056118,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":211,"category_name":30,"create_tm":212},292866,"Learning about Informix and the Open Admin Tool (OAT) - With Tom Beebe - Webcast on Feb 11, 2014","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903976032/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=Bl1H%2BGIMoZJoiIYF5r0o8VZX8wo%3D","learning-about-informix-and-the-open-admin-tool-oat-with-tom-beebe-webcast-on-feb-11-2014",14,1789656986,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":211,"category_name":30,"create_tm":218},343164,"WIPO Application Body Converter (for ePCT) - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910408463/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=f%2B1eG%2FfgkTfGLkNJYOPN0%2FzSa7w%3D","wipo-application-body-converter-for-epct-user-guide",1790050156,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":81,"category_name":30,"create_tm":224},693819,"York SCS Horizontal Economizers I/O/M - Installation and Submittal Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230006930301/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108879&Signature=jRGDdluLgwxmc5nzKsPt835GLdA%3D","york-scs-horizontal-economizers-iom-installation-and-submittal-manual",1794341817]