{"id":20551610,"url":"https://github.com/clarketm/docker-wrapper","last_synced_at":"2025-04-14T11:31:11.864Z","repository":{"id":86955256,"uuid":"110308753","full_name":"clarketm/docker-wrapper","owner":"clarketm","description":"Docker command wrapper.","archived":false,"fork":false,"pushed_at":"2017-12-25T05:50:28.000Z","size":1354,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T00:44:04.861Z","etag":null,"topics":["docker","docker-aliases","docker-helper"],"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/clarketm.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":"2017-11-11T01:34:17.000Z","updated_at":"2024-10-17T17:17:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"a93da7e4-bf0f-45cd-99d4-868ab1249098","html_url":"https://github.com/clarketm/docker-wrapper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fdocker-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fdocker-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fdocker-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fdocker-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clarketm","download_url":"https://codeload.github.com/clarketm/docker-wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248871736,"owners_count":21175282,"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","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","docker-aliases","docker-helper"],"created_at":"2024-11-16T02:32:27.381Z","updated_at":"2025-04-14T11:31:11.838Z","avatar_url":"https://github.com/clarketm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [docker-wrapper](https://godoc.org/github.com/clarketm/docker-wrapper)\nDocker command wrapper.\n\n\u003e The `docker-wrapper` command is a **complete** superset of the `docker` command. It is a wrapper that shims the native `docker` command with useful aliases and helpers to enhance your docker workflow. This may go without saying, but `docker` is a required dependency for `docker-wrapper`.\n\n## Installation\n\n#### Golang\n```shell\n$ go get -u github.com/clarketm/docker-wrapper\n```\n\n#### Install script\n```shell\n$ git clone \"https://github.com/clarketm/docker-wrapper.git\"\n$ cd docker-wrapper \u0026\u0026 sudo sh install.sh\n```\n\n## Usage\n```bash\n$ docker-wrapper wrapper --help\n```\n\n```text\n\nNAME:\n        docker-wrapper – docker command wrapper.\n\n\nSYNOPSIS:\n        docker-wrapper subcommand [opts...]\n\n\nSUB COMMANDS:\n\n        b, build                    \t Build an image from a Dockerfile.\n\n        e, exec                     \t Run a command in a running container.\n            -b, --bash              \t Execute bash in a running container.\n            -i, --interactive       \t Execute command in interactive container.\n            -s, --shell             \t Execute sh in a running container.\n\n        g, go                       \t Navigate to a docker internal storage dicetory (Linux ONLY).\n\n        i, images                   \t List images.\n            -d, --dangling          \t List all dangling images.\n            -v, --verbose           \t List all images (non-truncated output).\n\n        ip                          \t List IP address(es) for container.\n\n        p, ps                       \t List containers.\n\n        prune                       \t Remove unused resources.\n            -a, --all               \t Remove all unused resources (containers, images, networks, volumes).\n            c, containers           \t Remove all unused containers.\n            i, images               \t Remove all unused images.\n            n, networks             \t Remove all unused networks.\n            v, volumes              \t Remove all unused volumes.\n\n        rm                          \t Remove one or more containers.\n            -a, --all               \t Remove all containers.\n            -e, --exited            \t Remove all exited containers.\n            -r, --running           \t Remove all running containers.\n\n        rmi                         \t Remove one or more images.\n            -a, --all               \t Remove all base images.\n            -d, --dangling          \t Remove all dangling images.\n            -i, --intermediate      \t Remove all images (both base AND intermediate).\n\n        r, run                      \t Run a command in a new container.\n            -i, --interactive       \t Run interactive container.\n\n        s, stop                     \t Stop one or more running containers.\n            -a, --all               \t Stop all processes/containers.\n\n        w, wrapper                  \t Docker wrapper specific options.\n            -h, --help              \t Print usage information.\n            -v, --version           \t Print version number.\n            cs, cheatsheet          \t Print docker command reference guide.\n\n\nMANAGEMENT COMMANDS:\n\n        cnf, conf, cnfg, config     \t Manage containers.\n\n        c, container                \t Manage containers.\n\n        im, img, image              \t Manage images.\n\n        n, net, network             \t Manage networks.\n\n        no, node                    \t Manage Swarm node.\n\n        se, svc, service            \t Manage services.\n\n        st, stack                   \t Manage Docker stacks.\n\n        sw, swarm                   \t Manage Swarm.\n\n        v, vol, volume              \t Manage volumes.\n            ls                      \t List volumes.\n              -d, --dangling        \t List all dangling volumes.\n            rm                      \t Remove one or more volumes.\n              -d, --dangling        \t Remove all dangling volumes.\n\n\nEXAMPLES:\n        docker-wrapper wrapper --help\n\n```\n\n## TODO (before v1.0.0 release):\n- [x] Cross-platform compilation for Darwin and Linux\n- [ ] Add completions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarketm%2Fdocker-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarketm%2Fdocker-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarketm%2Fdocker-wrapper/lists"}