{"id":23913170,"url":"https://github.com/fs-frost/gocker","last_synced_at":"2026-05-17T03:14:46.345Z","repository":{"id":46896386,"uuid":"498862451","full_name":"FS-Frost/gocker","owner":"FS-Frost","description":"CLI tool to execute commands on docker containers.","archived":false,"fork":false,"pushed_at":"2023-06-28T21:05:30.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-05T09:32:21.773Z","etag":null,"topics":["cli","docker","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FS-Frost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-01T18:54:59.000Z","updated_at":"2022-07-19T17:14:21.000Z","dependencies_parsed_at":"2024-06-21T02:10:23.129Z","dependency_job_id":"e6c03718-761f-48a6-a307-29f1d22cd974","html_url":"https://github.com/FS-Frost/gocker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fgocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fgocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fgocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fgocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FS-Frost","download_url":"https://codeload.github.com/FS-Frost/gocker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240356350,"owners_count":19788539,"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":["cli","docker","golang"],"created_at":"2025-01-05T09:31:47.536Z","updated_at":"2026-05-17T03:14:41.302Z","avatar_url":"https://github.com/FS-Frost.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gocker\r\n\r\n CLI tool to execute commands on docker containers.\r\n\r\n## Requirements\r\n\r\n- [Go](https://go.dev/)\r\n- [Docker](https://www.docker.com/)\r\n\r\n## Install\r\n\r\n```shell\r\ngo install github.com/FS-Frost/gocker@latest\r\n```\r\n\r\n## Usage\r\n\r\n```shell\r\ngocker -help\r\ngocker --help\r\n```\r\n\r\nPrints:\r\n\r\n```shell\r\nRepository: https://www.github.com/FS-Frost/gocker\r\nConfig: /home/myself/.gocker/config.json\r\n\r\nUsage:\r\na) With flags:\r\n  -cmd string\r\n        command to execute (default \"bash\")\r\n  -config\r\n        prints user config\r\n  -container string\r\n        container name\r\n  -help\r\n        prints usage\r\n  -update\r\n        updates gocker installation\r\n  -version\r\n        prints current version\r\n\r\n  Example: 'gocker -container mysql -cmd \"ls -l\"'\r\n\r\nb) Without flags:\r\n  b1) Interactive shell:\r\n    gocker\r\n\r\n  b2) Custom command:\r\n    gocker [container-name] [command] [arg1]...[argN]\r\n      Example: 'gocker mysql ls -l'\r\n```\r\n\r\n### Example Output\r\n\r\n```\r\nContainers:\r\n1. golang\r\n2. ubuntu\r\n3. node\r\n\r\nEnter container number or name: 2\r\nContainer: ubuntu (403c44416624)\r\n\r\nCommands:\r\n1. bash\r\n2. sh\r\n3. other\r\n\r\nEnter command number or raw command to execute: 1\r\nCommand: bash\r\n\r\n/usr/bin/docker exec -it ubuntu bash\r\nroot@403c44416624:/var/www/html#\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffs-frost%2Fgocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffs-frost%2Fgocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffs-frost%2Fgocker/lists"}