How to create a frontend-only Docker extension to get the size of public images
summary
Creates a frontend-only extension that reports a public image size without pulling it by calling docker manifest inspect, parsing the JSON, summing config + layer sizes, and formatting bytes to human units. Uses docker extension init, npm/React/TypeScript, adds a tree view and material icons, removes the backend stage from the Dockerfile, and installs via docker extension install. Demo builds and installs into Docker Desktop and returns sizes or the standard Docker UI error when an image is missing.
AI-written summary · about
chapters (6)
- 0:00Start
- 1:01Create Your Own Docker Extension
- 4:29Visual Studio Code
- 9:44The Docker Ui
- 12:55An Docker Extension Install
- 13:54Standard Error Messages
related talks
32mGetting Started Building Docker Extensions
09mBuilding Docker Extensions using Vue & Nuxt
11mWhat are Docker Extensions
06mWhat are Docker Extensions
05mWhat are Docker Extensions
20mDocker Extensions Show and Tell
12mCreating a Hoppscotch Docker Extension for API Development
03h 18mDocker Community All-Hands 7 - Day 1
