Screen.Recording.2025-08-05.at.11.54.40.PM.mov
DFC-UI is a web-based user interface built on top of the
dfcCLI tool using its Go SDK. It allows you to convert Dockerfiles to use Chainguard Images and replaceFROMandRUNlines with secure, minimal base images and APK-based commands — all via your browser.
The dfc tool helps you migrate traditional Dockerfiles to use Chainguard Images and APK packages instead of bulky base images or unsafe dependency installs. It's built to improve container image security and reproducibility.
📖 Learn more:
- 📁 Upload a Dockerfile directly from your computer
- 🧠 See side-by-side diffs between your original and converted Dockerfile
- ✍️ Edit the original Dockerfile before conversion
- 🔁 Convert multiple times with different versions
- ⚙️ Built with Next.js (UI) + Go (API using dfc SDK)
# Clone the repo
git clone https://github.com/yourusername/dfc-ui.git
cd dfc-ui
# Start the UI
cd ui
npm install
npm run dev
> This starts the Next.js frontend on http://localhost:3000
# Start the API server (Backend)
cd api
go mod download
go run main.go
> The backend runs on http://localhost:8000
Contributions are welcome! If you'd like to improve the UI, add error handling, or enhance conversion features — open a PR or file an issue.
Built with 💙 by Rahul Vishwakarma
