SlideShare a Scribd company logo
Docker image without Docker
fi
le…
and without base image
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
Image layers
Image
Layer 3
metadata
fi
lesystem
Layer 2
metadata
Layer 1
metadata
fi
lesystem
Empty layer
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
Layers must have either
meadata or
fi
lesystem
Image
Layer 3
metadata
fi
lesystem
Layer 2
Layer 1
metadata
fi
lesystem
nonexistent
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
One
fi
nal metadata
fi
le
+ merged
fi
lesystem
Image
Layer 3
metadata
fi
lesystem
Layer 2
metadata
Layer 1
metadata
fi
lesystem
Empty layer
overlayfs2
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
Metadata will be copied to the next layer
FROM ubuntu:20.04
localhost/buildtest:v1
LABEL maintainer=itsziget
LABEL
maintainer=itsziget
RUN mkdir /app
RUN echo “version=1.0” > /app/
con
fi
g.ini
LABEL
maintainer=itsziget
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
Layers of the base image
localhost/buildtest:v1
LABEL maintainer=itsziget


CMD [“bash”]
RUN mkdir /app
RUN echo “version=1.0” > /app/
con
fi
g.ini
FROM scratch
ADD ubuntu-focal-oci-amd64-root.tar.gz /
CMD [“bash”]
LABEL maintainer=itsziget


CMD [“bash”]
LABEL maintainer=itsziget


CMD [“bash”]
ubuntu:20.04
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
docker run from scratch?
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
What do we need?
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
Copy the original data


data dir: /var/lib/docker-backup
What do we need?
Newly installed Docker


data dir: /var/lib/docker
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
What do we need?
Copy the original data


data dir: /var/lib/docker-backup
LABEL maintainer=itsziget
Newly installed Docker


data dir: /var/lib/docker
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
Copy the original data


data dir: /var/lib/docker-backup
What do we need?
Compare the
fi
les
LABEL maintainer=itsziget
Newly installed Docker


data dir: /var/lib/docker
/var/lib/docker-backup /var/lib/docker
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
The type of overlay2 related
fi
les in
/var/lib/docker
• BBolt database
fi
les (*.db)


• https://github.com/etcd-io/bbolt


• Metadata (*.json) and logs


• Filesystem layers (read-only image layers and writable container layer)


• block device for quotas (backingFsBlockDev)


• volumes/backingFsBlockDev


• overlay2/backingFsBlockDev


• https://github.com/moby/moby/pull/24771


• https://reece.tech/posts/docker-container-size-quota/
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
Follow the instructions:


https://github.com/itsziget/tutorial-docker-build/tree/v1.1.0#build-without-a-base-
image


git clone https://github.com/itsziget/tutorial-docker-build.git
cd tutorial-docker-build
git checkout v1.1.0
Tutorial based on this presentation
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
• Author: Ákos Takács


• Website: https://it-sziget.hu


• Facebook: https://facebook.com/itsziget


• YouTube: https://yt.it-sziget.hu
• Video tutorial (speaking in Hungarian): https://youtu.be/SDWkUq15e34
• Source code: https://github.com/itsziget/tutorial-docker-build/tree/v1.1.0
Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image

More Related Content

Similar to Docker image without Dockerfile and base image

The Dockerfile Explosion and the Need for Higher Level Tools by Gareth Rushgrove
The Dockerfile Explosion and the Need for Higher Level Tools by Gareth RushgroveThe Dockerfile Explosion and the Need for Higher Level Tools by Gareth Rushgrove
The Dockerfile Explosion and the Need for Higher Level Tools by Gareth Rushgrove
Docker, Inc.
 
Docker Ecosystem on Azure
Docker Ecosystem on AzureDocker Ecosystem on Azure
Docker Ecosystem on Azure
Patrick Chanezon
 
Docker Overview
Docker OverviewDocker Overview
Docker Overview
Gary Williams
 
Docker
DockerDocker
Docker, LinuX Container
Docker, LinuX ContainerDocker, LinuX Container
Docker, LinuX Container
Araf Karsh Hamid
 
Tips pour sécuriser ses conteneurs docker/podman
Tips pour sécuriser ses conteneurs docker/podmanTips pour sécuriser ses conteneurs docker/podman
Tips pour sécuriser ses conteneurs docker/podman
Thierry Gayet
 
Docker and containers - Presentation Slides by Priyadarshini Anand
Docker and containers - Presentation Slides by Priyadarshini AnandDocker and containers - Presentation Slides by Priyadarshini Anand
Docker and containers - Presentation Slides by Priyadarshini Anand
PRIYADARSHINI ANAND
 
Into to Docker (Central PA Java User Group - 8/14/2017)
Into to Docker (Central PA Java User Group - 8/14/2017)Into to Docker (Central PA Java User Group - 8/14/2017)
Into to Docker (Central PA Java User Group - 8/14/2017)
Mike Melusky
 
Observability
ObservabilityObservability
Observability
Diego Pacheco
 
Cloud Native Computing - Part III - Containers
Cloud Native Computing - Part III - ContainersCloud Native Computing - Part III - Containers
Cloud Native Computing - Part III - Containers
Linjith Kunnon
 
Using docker to develop NAS applications
Using docker to develop NAS applicationsUsing docker to develop NAS applications
Using docker to develop NAS applications
Terry Chen
 
Dockers Containers in action Slide 0 to hero
Dockers Containers in action Slide  0 to heroDockers Containers in action Slide  0 to hero
Dockers Containers in action Slide 0 to hero
TayyabAslam24
 
Academy PRO: Docker. Part 2
Academy PRO: Docker. Part 2Academy PRO: Docker. Part 2
Academy PRO: Docker. Part 2
Binary Studio
 
Package your Java EE Application using Docker and Kubernetes
Package your Java EE Application using Docker and KubernetesPackage your Java EE Application using Docker and Kubernetes
Package your Java EE Application using Docker and Kubernetes
Arun Gupta
 
How to Improve Your Image Builds Using Advance Docker Build
How to Improve Your Image Builds Using Advance Docker BuildHow to Improve Your Image Builds Using Advance Docker Build
How to Improve Your Image Builds Using Advance Docker Build
Docker, Inc.
 
Hands on introduction to docker security for docker newbies
Hands on introduction to docker security for docker newbiesHands on introduction to docker security for docker newbies
Hands on introduction to docker security for docker newbies
Yigal Elefant
 
Creating docker custom image
Creating docker custom imageCreating docker custom image
Creating docker custom image
t lc
 
Creating docker custom image
Creating docker custom imageCreating docker custom image
Creating docker custom image
t lc
 
BDM32: AdamCloud Project - Part II
BDM32: AdamCloud Project - Part IIBDM32: AdamCloud Project - Part II
BDM32: AdamCloud Project - Part II
David Lauzon
 
Learn docker in 90 minutes
Learn docker in 90 minutesLearn docker in 90 minutes
Learn docker in 90 minutes
Larry Cai
 

Similar to Docker image without Dockerfile and base image (20)

The Dockerfile Explosion and the Need for Higher Level Tools by Gareth Rushgrove
The Dockerfile Explosion and the Need for Higher Level Tools by Gareth RushgroveThe Dockerfile Explosion and the Need for Higher Level Tools by Gareth Rushgrove
The Dockerfile Explosion and the Need for Higher Level Tools by Gareth Rushgrove
 
Docker Ecosystem on Azure
Docker Ecosystem on AzureDocker Ecosystem on Azure
Docker Ecosystem on Azure
 
Docker Overview
Docker OverviewDocker Overview
Docker Overview
 
Docker
DockerDocker
Docker
 
Docker, LinuX Container
Docker, LinuX ContainerDocker, LinuX Container
Docker, LinuX Container
 
Tips pour sécuriser ses conteneurs docker/podman
Tips pour sécuriser ses conteneurs docker/podmanTips pour sécuriser ses conteneurs docker/podman
Tips pour sécuriser ses conteneurs docker/podman
 
Docker and containers - Presentation Slides by Priyadarshini Anand
Docker and containers - Presentation Slides by Priyadarshini AnandDocker and containers - Presentation Slides by Priyadarshini Anand
Docker and containers - Presentation Slides by Priyadarshini Anand
 
Into to Docker (Central PA Java User Group - 8/14/2017)
Into to Docker (Central PA Java User Group - 8/14/2017)Into to Docker (Central PA Java User Group - 8/14/2017)
Into to Docker (Central PA Java User Group - 8/14/2017)
 
Observability
ObservabilityObservability
Observability
 
Cloud Native Computing - Part III - Containers
Cloud Native Computing - Part III - ContainersCloud Native Computing - Part III - Containers
Cloud Native Computing - Part III - Containers
 
Using docker to develop NAS applications
Using docker to develop NAS applicationsUsing docker to develop NAS applications
Using docker to develop NAS applications
 
Dockers Containers in action Slide 0 to hero
Dockers Containers in action Slide  0 to heroDockers Containers in action Slide  0 to hero
Dockers Containers in action Slide 0 to hero
 
Academy PRO: Docker. Part 2
Academy PRO: Docker. Part 2Academy PRO: Docker. Part 2
Academy PRO: Docker. Part 2
 
Package your Java EE Application using Docker and Kubernetes
Package your Java EE Application using Docker and KubernetesPackage your Java EE Application using Docker and Kubernetes
Package your Java EE Application using Docker and Kubernetes
 
How to Improve Your Image Builds Using Advance Docker Build
How to Improve Your Image Builds Using Advance Docker BuildHow to Improve Your Image Builds Using Advance Docker Build
How to Improve Your Image Builds Using Advance Docker Build
 
Hands on introduction to docker security for docker newbies
Hands on introduction to docker security for docker newbiesHands on introduction to docker security for docker newbies
Hands on introduction to docker security for docker newbies
 
Creating docker custom image
Creating docker custom imageCreating docker custom image
Creating docker custom image
 
Creating docker custom image
Creating docker custom imageCreating docker custom image
Creating docker custom image
 
BDM32: AdamCloud Project - Part II
BDM32: AdamCloud Project - Part IIBDM32: AdamCloud Project - Part II
BDM32: AdamCloud Project - Part II
 
Learn docker in 90 minutes
Learn docker in 90 minutesLearn docker in 90 minutes
Learn docker in 90 minutes
 

Recently uploaded

8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Upturn India Technologies - Web development company in Nashik
Upturn India Technologies - Web development company in NashikUpturn India Technologies - Web development company in Nashik
Upturn India Technologies - Web development company in Nashik
Upturn India Technologies
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
Transforming Product Development using OnePlan To Boost Efficiency and Innova...
Transforming Product Development using OnePlan To Boost Efficiency and Innova...Transforming Product Development using OnePlan To Boost Efficiency and Innova...
Transforming Product Development using OnePlan To Boost Efficiency and Innova...
OnePlan Solutions
 
Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...
Paul Brebner
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
kalichargn70th171
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Peter Caitens
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
The Third Creative Media
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
vaishalijagtap12
 
Boost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management AppsBoost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management Apps
Jhone kinadey
 
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
widenerjobeyrl638
 
TMU毕业证书精仿办理
TMU毕业证书精仿办理TMU毕业证书精仿办理
TMU毕业证书精仿办理
aeeva
 
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptxOperational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
sandeepmenon62
 
Liberarsi dai framework con i Web Component.pptx
Liberarsi dai framework con i Web Component.pptxLiberarsi dai framework con i Web Component.pptx
Liberarsi dai framework con i Web Component.pptx
Massimo Artizzu
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 

Recently uploaded (20)

8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Upturn India Technologies - Web development company in Nashik
Upturn India Technologies - Web development company in NashikUpturn India Technologies - Web development company in Nashik
Upturn India Technologies - Web development company in Nashik
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
Transforming Product Development using OnePlan To Boost Efficiency and Innova...
Transforming Product Development using OnePlan To Boost Efficiency and Innova...Transforming Product Development using OnePlan To Boost Efficiency and Innova...
Transforming Product Development using OnePlan To Boost Efficiency and Innova...
 
Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
 
Boost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management AppsBoost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management Apps
 
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
美洲杯赔率投注网【​网址​🎉3977·EE​🎉】
 
TMU毕业证书精仿办理
TMU毕业证书精仿办理TMU毕业证书精仿办理
TMU毕业证书精仿办理
 
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptxOperational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
 
Liberarsi dai framework con i Web Component.pptx
Liberarsi dai framework con i Web Component.pptxLiberarsi dai framework con i Web Component.pptx
Liberarsi dai framework con i Web Component.pptx
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 

Docker image without Dockerfile and base image

  • 1. Docker image without Docker fi le… and without base image Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 2. Image layers Image Layer 3 metadata fi lesystem Layer 2 metadata Layer 1 metadata fi lesystem Empty layer Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 3. Layers must have either meadata or fi lesystem Image Layer 3 metadata fi lesystem Layer 2 Layer 1 metadata fi lesystem nonexistent Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 4. One fi nal metadata fi le + merged fi lesystem Image Layer 3 metadata fi lesystem Layer 2 metadata Layer 1 metadata fi lesystem Empty layer overlayfs2 Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 5. Metadata will be copied to the next layer FROM ubuntu:20.04 localhost/buildtest:v1 LABEL maintainer=itsziget LABEL maintainer=itsziget RUN mkdir /app RUN echo “version=1.0” > /app/ con fi g.ini LABEL maintainer=itsziget Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 6. Layers of the base image localhost/buildtest:v1 LABEL maintainer=itsziget CMD [“bash”] RUN mkdir /app RUN echo “version=1.0” > /app/ con fi g.ini FROM scratch ADD ubuntu-focal-oci-amd64-root.tar.gz / CMD [“bash”] LABEL maintainer=itsziget CMD [“bash”] LABEL maintainer=itsziget CMD [“bash”] ubuntu:20.04 Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 7. docker run from scratch? Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 8. What do we need? Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 9. Copy the original data data dir: /var/lib/docker-backup What do we need? Newly installed Docker data dir: /var/lib/docker Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 10. What do we need? Copy the original data data dir: /var/lib/docker-backup LABEL maintainer=itsziget Newly installed Docker data dir: /var/lib/docker Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 11. Copy the original data data dir: /var/lib/docker-backup What do we need? Compare the fi les LABEL maintainer=itsziget Newly installed Docker data dir: /var/lib/docker /var/lib/docker-backup /var/lib/docker Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 12. The type of overlay2 related fi les in /var/lib/docker • BBolt database fi les (*.db) • https://github.com/etcd-io/bbolt • Metadata (*.json) and logs • Filesystem layers (read-only image layers and writable container layer) • block device for quotas (backingFsBlockDev) • volumes/backingFsBlockDev • overlay2/backingFsBlockDev • https://github.com/moby/moby/pull/24771 • https://reece.tech/posts/docker-container-size-quota/ Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 13. Follow the instructions: 
 https://github.com/itsziget/tutorial-docker-build/tree/v1.1.0#build-without-a-base- image git clone https://github.com/itsziget/tutorial-docker-build.git cd tutorial-docker-build git checkout v1.1.0 Tutorial based on this presentation Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image
  • 14. • Author: Ákos Takács • Website: https://it-sziget.hu • Facebook: https://facebook.com/itsziget • YouTube: https://yt.it-sziget.hu • Video tutorial (speaking in Hungarian): https://youtu.be/SDWkUq15e34 • Source code: https://github.com/itsziget/tutorial-docker-build/tree/v1.1.0 Ákos Takács - it-sziget.hu - Docker image without Dockerfile and without base image