{"id":16413464,"url":"https://github.com/noblemajo/ubuntudind","last_synced_at":"2025-08-20T08:17:52.319Z","repository":{"id":38086564,"uuid":"457020635","full_name":"NobleMajo/ubuntudind","owner":"NobleMajo","description":"Ubuntu Docker in Docker - a ubuntu 24.04 docker in docker image","archived":false,"fork":false,"pushed_at":"2025-02-22T11:24:59.000Z","size":58,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-15T19:09:28.141Z","etag":null,"topics":["dind","docker","docker-image","ubuntu","ubuntu2004"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NobleMajo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-08T16:48:57.000Z","updated_at":"2025-02-22T11:25:02.000Z","dependencies_parsed_at":"2024-10-11T06:51:39.344Z","dependency_job_id":"eec39cd8-0552-4a34-b7cd-2c627b12b6ce","html_url":"https://github.com/NobleMajo/ubuntudind","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NobleMajo/ubuntudind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobleMajo%2Fubuntudind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobleMajo%2Fubuntudind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobleMajo%2Fubuntudind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobleMajo%2Fubuntudind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NobleMajo","download_url":"https://codeload.github.com/NobleMajo/ubuntudind/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobleMajo%2Fubuntudind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271285534,"owners_count":24732930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dind","docker","docker-image","ubuntu","ubuntu2004"],"created_at":"2024-10-11T06:51:34.034Z","updated_at":"2025-08-20T08:17:52.287Z","avatar_url":"https://github.com/NobleMajo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ubuntudind\r\n![Docker](https://img.shields.io/docker/image-size/noblemajo/ubuntudind)\r\n![CI/CD](https://github.com/noblemajo/ubuntudind/workflows/Image/badge.svg)\r\n![MIT](https://img.shields.io/badge/license-MIT-blue.svg)\r\n\r\n![](https://img.shields.io/badge/dynamic/json?color=green\u0026label=watchers\u0026query=watchers\u0026suffix=x\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fubuntudind)\r\n![](https://img.shields.io/badge/dynamic/json?color=yellow\u0026label=stars\u0026query=stargazers_count\u0026suffix=x\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fubuntudind)\r\n![](https://img.shields.io/badge/dynamic/json?color=orange\u0026label=subscribers\u0026query=subscribers_count\u0026suffix=x\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fubuntudind)\r\n![](https://img.shields.io/badge/dynamic/json?color=navy\u0026label=forks\u0026query=forks\u0026suffix=x\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fubuntudind)\r\n![](https://img.shields.io/badge/dynamic/json?color=darkred\u0026label=open%20issues\u0026query=open_issues\u0026suffix=x\u0026url=https%3A%2F%2Fapi.github.com%2Frepos%2Fnoblemajo%2Fubuntudind)\r\n\r\n# table of contents\r\n- [ubuntudind](#ubuntudind)\r\n- [table of contents](#table-of-contents)\r\n- [about](#about)\r\n- [example commands](#example-commands)\r\n  - [pull image](#pull-image)\r\n  - [Own docker sock](#own-docker-sock)\r\n  - [Host sock](#host-sock)\r\n  - [Exec commands](#exec-commands)\r\n  - [Nginx example](#nginx-example)\r\n  - [Persistent data](#persistent-data)\r\n- [Control Scripts](#control-scripts)\r\n- [Contributing](#contributing)\r\n- [License](#license)\r\n- [Disclaimer](#disclaimer)\r\n\r\n# about\r\nThe main focus of this project is to provide a ubuntu image with functional docker deamon.\r\nYou can use this image to run docker containers in a ubuntu container. \r\n\r\n## docker hub\r\nThis repo is also on [Docker Hub](https://hub.docker.com/r/noblemajo/ubuntudind).\r\n\r\n## automated updates\r\nThe build image is automatically updated without worrying about a dead repo or less maintenance.\r\n\r\n# requirements\r\nThis container needs the '--privileged' flag to run!\r\nThis gives extended privileges to this container.\r\n\r\n# example commands\r\n## pull image\r\n```sh\r\ndocker push noblemajo/ubuntudind\r\n```\r\n## own docker sock\r\nStart the container as self hosting docker instance:\r\n```sh\r\ndocker run -d --privileged \\\r\n    --restart unless-stopped \\\r\n    --name ubuntudind \\\r\n    --network host \\\r\n    noblemajo/ubuntudind\r\n```\r\n## host sock\r\nYou can also mount the host docker socket into the container:\r\n```sh\r\ndocker run -it --rm \\\r\n    -v /var/run/docker.sock:/var/run/docker.sock \\\r\n    noblemajo/ubuntudind \\\r\n        docker ps\r\n```\r\n## exec commands\r\n```sh\r\ndocker exec -it ubuntudind \\\r\n    docker ps\r\n```\r\n## nginx example\r\n```sh\r\ndocker exec -it ubuntudind \\\r\n    docker run -it --rm \\\r\n    --name test-nginx \\\r\n    -p 8080:80 \\\r\n    nginx\r\n```\r\nDon't forget to remove it:\r\n```sh\r\ndocker rm -f ubuntudind\r\n```\r\n## persistent data\r\nThe container data need to be mounted for persistency:\r\n```sh\r\ndocker run -d --privileged \\\r\n    --restart unless-stopped \\\r\n    --name ubuntudind \\\r\n    --network host \\\r\n    -v $(pwd)/.store:/var/lib/docker \\\r\n    noblemajo/ubuntudind\r\n```\r\n\r\n# control Scripts\r\nThis control scripts should help you to understand how to use the image and container.\r\n - build.sh - build docker image\r\n - enter.sh - run a container with bash as entrypoint for image testing and debugging purposes\r\n - start.sh - run docker \"test\" container with network, volume and backup/cache mount to \"./.store\"\r\n - remove.sh - remove docker \"test\" container\r\n - exec.sh - runs a command in the \"test\" container and prints the output\r\n - test.sh - runs a nginx container that bind port 8080 in the \"test\" container and prints the output\r\n\r\n# Contributing\r\nContributions to Ubuntudind are welcome!  \r\nInterested users can refer to the guidelines provided in the [CONTRIBUTING.md](CONTRIBUTING.md) file to contribute to the project and help improve its functionality and features.\r\n\r\n# License\r\nUbuntudind is licensed under the [MIT license](LICENSE), providing users with flexibility and freedom to use and modify the software according to their needs.\r\n\r\n# Disclaimer\r\nUbuntudind is provided without warranties.  \r\nUsers are advised to review the accompanying license for more information on the terms of use and limitations of liability.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoblemajo%2Fubuntudind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoblemajo%2Fubuntudind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoblemajo%2Fubuntudind/lists"}