Sign inSign up

alekslitvinenk/dind

By alekslitvinenk

โ€ขUpdated about 4 years ago

Image
1

100K+

alekslitvinenk/dind repository overview

โ ๐Ÿ’Ždind

Docker in Docker. The working solution

โ GitHub repo:

https://github.com/alekslitvinenk/dindโ 

โ DockerHub repo:

https://hub.docker.com/r/alekslitvinenk/dindโ 

โ โˆต Preface

Nowadays, containerised solutions are extremely widespread and Docker has firmly occupied the leader place among them. Often, the necessity to keep all the generated files and intermediary containers in one single place and clean the cache every time the parent container was stopped. To acheive this goal, developers used to manually or by scripting clean all the garbage with docker image purge -a and docker container purge. When you need to perform these operations quite often and especially when you need to clean up not everything, but only some images and containers linked with some other one, you might think about coming up with some scritable solution. But these home-made solutions often come with a gotcha -- they are error prone and accidentally you can delete conteiner wihci wsn't supposed to be deleted with all its data. To keep all the intermediary containers together and delete them at once, you can employ Docker-in-Docker (dind) solution.

โ ๐Ÿ“บ Video Guide

โ ๐Ÿš€ Quick Start

docker run --privileged -it alekslitvinenk/dind

Tag summary

Content type

Image

Digest

sha256:198788162โ€ฆ

Size

50.5 MB

Last updated

about 4 years ago

docker pull alekslitvinenk/dind