{"id":22138276,"url":"https://github.com/z0mbix/docker-ctl","last_synced_at":"2026-05-18T19:08:11.544Z","repository":{"id":139776710,"uuid":"48995123","full_name":"z0mbix/docker-ctl","owner":"z0mbix","description":"Docker wrapper script for common tasks","archived":false,"fork":false,"pushed_at":"2016-01-23T12:42:39.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T10:33:30.675Z","etag":null,"topics":["docker","wrapper"],"latest_commit_sha":null,"homepage":null,"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/z0mbix.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}},"created_at":"2016-01-04T12:15:59.000Z","updated_at":"2018-06-28T16:23:02.000Z","dependencies_parsed_at":"2023-04-19T06:03:48.046Z","dependency_job_id":null,"html_url":"https://github.com/z0mbix/docker-ctl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/z0mbix/docker-ctl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fdocker-ctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fdocker-ctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fdocker-ctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fdocker-ctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z0mbix","download_url":"https://codeload.github.com/z0mbix/docker-ctl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fdocker-ctl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278277325,"owners_count":25960424,"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-10-04T02:00:05.491Z","response_time":63,"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":["docker","wrapper"],"created_at":"2024-12-01T20:09:17.758Z","updated_at":"2025-10-04T06:32:48.813Z","avatar_url":"https://github.com/z0mbix.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"docker-ctl\n----------\n\nLike Docker, but have a terrible memory, or a little bit lazy? Then you may need **docker-ctl**\n\nTo see all commands just run docker-ctl with no arguments:\n\n    # docker-ctl\n    Available commands:\n      cleanup\n      help\n      remove-all\n      remove-all-images\n      remove-stopped\n      show-ports\n      show-running\n      show-stopped\n      stop-running\n\nTo see more details use the help option:\n\n    # docker-ctl help\n\n    cleanup\n      Removes stopped containers and dangling images\n\n    help \u003ccommand\u003e \u003cshowsource\u003e\n      Shows help information for a command\n\n    remove-all\n      Removes all containers\n\n    remove-all-images\n      Removes all images\n\n    remove-stopped\n      Removes all stopped containers\n\n    show-ports\n      Show port mappings for running containers\n\n    show-running\n      Shows all running containers\n\n    show-stopped\n      Shows all stopped containers\n\n    stop-running\n      Stops all running containers\n\nTo see full help details for a command use **docker-ctl help [command]** e.g.:\n\n    # docker-ctl help remove-all\n    remove-all\n      Removes all containers\n\n    cmd-remove-all ()\n    {\n        declare desc=\"Removes all containers\";\n        local containers=$(docker ps -a -q);\n        for container in ${containers[@]};\n        do\n            local state=$(docker inspect --format \"{{.State.Running}}\" $container);\n            echo \"Removing container: $container\";\n            if [[ \"$state\" == \"true\" ]]; then\n                stop-container $container;\n            fi;\n            remove-container $container;\n        done\n    }\n\n## Install\n\n    $ sudo curl https://raw.githubusercontent.com/z0mbix/docker-ctl/master/docker-ctl -o /usr/local/bin/docker-ctl \u0026\u0026 sudo chmod 755 /usr/local/bin/docker-ctl\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0mbix%2Fdocker-ctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz0mbix%2Fdocker-ctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0mbix%2Fdocker-ctl/lists"}