{"id":21232669,"url":"https://github.com/jeonghanlee/docker-tools","last_synced_at":"2026-05-06T17:33:29.748Z","repository":{"id":99841496,"uuid":"276208319","full_name":"jeonghanlee/docker-tools","owner":"jeonghanlee","description":"Personal Script Collection for Docker","archived":false,"fork":false,"pushed_at":"2020-07-06T19:16:31.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-03T04:42:54.827Z","etag":null,"topics":["bash","docker"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeonghanlee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2020-06-30T21:04:28.000Z","updated_at":"2020-07-06T19:16:33.000Z","dependencies_parsed_at":"2023-04-29T07:47:54.532Z","dependency_job_id":null,"html_url":"https://github.com/jeonghanlee/docker-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeonghanlee/docker-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeonghanlee%2Fdocker-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeonghanlee%2Fdocker-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeonghanlee%2Fdocker-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeonghanlee%2Fdocker-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeonghanlee","download_url":"https://codeload.github.com/jeonghanlee/docker-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeonghanlee%2Fdocker-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32704390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","docker"],"created_at":"2024-11-20T23:53:59.398Z","updated_at":"2026-05-06T17:33:29.725Z","avatar_url":"https://github.com/jeonghanlee.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collection Tools for Docker Usages\n\n![Linter Run](https://github.com/jeonghanlee/docker-tools/workflows/Linter%20Run/badge.svg)\n\n## `docker_shell.bash`\n\n```bash\nsource docker_shell.bash\n```\n\n* `xDockerImagesDelete` is alias of the following command:\n\n```bash\ndocker rmi -f $(docker images -a -q)\n```\n\n* `xDockerPruneAll` is alias of the following command:\n\n```bash\ndocker system prune -a --volumes\n```\n\n* `xDockerPrune` is alias of the following command:\n\n```bash\ndocker system prune\n```\n\n* `xDockerRun $name $options` is alias of the following command:\n\n```bash\nxDockerRun channelfinder -d\n```\n\n```bash\ndocker run --network=host ${options} --rm --name=\"$name\"  jeonghanlee/\"$name\":latest\n```\n\n* `xDockerPull $name` is alias of the following command:\n\n```bash\ndocker pull jeonghanlee/\"$name\":latest\n```\n\n* `xDockerLastIdIn`\n\n```bash\nxDockerLastIdIn eb59f9c86930 \"--entrypoint\" \"/bin/sh\" \"-v\" \"$HOME/docker_data:/data\"\n```\n\n## `push_to_hub.bash`\n\n* One can override the default target name via an available options `-n` in push_to_hub or a local file\n\n```bash\necho \"TARGET_NAME=recsync\" \u003e docker_target_name.local\n```\n\nIf one use both methods, the option `-n` is used.\n\n```bash\nUsage    : ./push_to_hub.bash [-s IMAGE ID] [-t Release Version] \u003c-u docker hub username\u003e \u003ct docker taget name\u003e \u003c-p\u003e\n\n               -s : Docker IMAGE ID\n               -t : Desired Release Version\n               -n : Target name (default:recsync)\n               -u : Docker HUB user name (default:jeonghanlee)\n               -p : Push the docker hub (need to do push)\n\n ---- Dry run (Default)\n $ bash ./push_to_hub.bash -s \"04ac57cc7c72\" -t \"4-v0.1.0\"\n\n ---- Push it to docker hub\n $ bash ./push_to_hub.bash -s \"04ac57cc7c72\" -t \"4-v0.1.0\" -p\n```\n\n## Check an image id, which one would like to do tag\n\n```bash\ndocker ps\n```\n\n## Login the docker hub\n\n```bash\ndocker login\n```\n\n### Create tag and push\n\nThe first argument is `IMAGE ID`, the second one is a version. Then one has the following tag\n`jeonghanlee/recsync:1-v0.1.0`\n\n* Dry-run\n\n```bash\nbash docker/scripts/push_to_hub.bash -s \"24924741269d\" -t \"recsync:1-v0.1.0\"\n```\n\n* Push\n\n```bash\nbash docker/scripts/push_to_hub.bash -s \"24924741269d\" -t \"recsync:1-v0.1.0\" -p\n```\n\n### Pull the image from docker hub\n\n```bash\ndocker pull jeonghanlee/recsync:1-v0.1.0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeonghanlee%2Fdocker-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeonghanlee%2Fdocker-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeonghanlee%2Fdocker-tools/lists"}