Tagged articles
4 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Apr 23, 2025 · Cloud Native

Reverse‑Engineer Docker Images into Dockerfiles with Dive and Dedockify

This guide explains how to dissect Docker images, inspect their layers with Dive, extract build history via Docker commands and the Python Docker Engine API, and automatically reconstruct a functional Dockerfile using the open‑source Dedockify tool, complete with code snippets and practical examples.

dedockifydiveimage-reverse-engineering
0 likes · 20 min read
Reverse‑Engineer Docker Images into Dockerfiles with Dive and Dedockify
MaGe Linux Operations
MaGe Linux Operations
Sep 17, 2023 · Cloud Native

How to Shrink Docker Images: Proven Techniques to Cut Size from 1.6 GB to 600 MB

This article explains the fundamentals of Docker image layers, demonstrates how to analyze layer size with tools like docker history and dive, and provides practical optimization techniques—including multi‑stage builds, cache removal, layer squashing, and metadata‑aware copying—to dramatically reduce image footprints.

ContainerDockerDockerfile
0 likes · 11 min read
How to Shrink Docker Images: Proven Techniques to Cut Size from 1.6 GB to 600 MB