{"id":21664912,"url":"https://github.com/nick-robo/container_manager_script","last_synced_at":"2026-04-12T01:44:58.503Z","repository":{"id":155710093,"uuid":"469671763","full_name":"nick-robo/container_manager_script","owner":"nick-robo","description":"Simple container manager","archived":false,"fork":false,"pushed_at":"2022-03-14T18:17:14.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-25T11:44:18.146Z","etag":null,"topics":["bash","containers","docker","docker-compose"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/nick-robo.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-03-14T09:52:06.000Z","updated_at":"2022-03-14T12:17:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"45182e83-eeb0-4e4c-8ad7-5ebe35902e81","html_url":"https://github.com/nick-robo/container_manager_script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nick-robo/container_manager_script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nick-robo%2Fcontainer_manager_script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nick-robo%2Fcontainer_manager_script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nick-robo%2Fcontainer_manager_script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nick-robo%2Fcontainer_manager_script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nick-robo","download_url":"https://codeload.github.com/nick-robo/container_manager_script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nick-robo%2Fcontainer_manager_script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31701641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"last_error":"SSL_read: 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","containers","docker","docker-compose"],"created_at":"2024-11-25T10:44:45.646Z","updated_at":"2026-04-12T01:44:58.486Z","avatar_url":"https://github.com/nick-robo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Container Manager Script\n\nA bash script I wrote to simplify managing my containers. Works with the following directory structure. \n\n```bash\n$ tree -L 2  /path/to/my_containers/\n.\n├── containers\n├── first\n│   ├── config\n│   └── docker-compose.yml\n├── second\n│   ├── config\n│   └── docker-compose.yml.off\n├── third\n│   ├── data\n│   └── docker-compose.yml\n└── fourth\n    └── docker-compose.yaml\n```\n## Get the Script \n\nRun the following in your container folder.\n\n```bash\n$ wget \"https://raw.githubusercontent.com/nick-robo/container_manager_script/master/containers\"\n```\nMake it executable.\n```bash\nchmod +x containers\n```\n\n## Usage\n\nRun `./containers help` for help.\n\n```\nUsage:  ./containers [command] CONTAINER_FOLDER\n   or:  ./containers [command]              (acts on all containers which are on)\n\nAvailable Commands:\n    help        Print this command\n    list        List all container folders by their state (on/off)\n    update      Update and run container\n    stop        Stop a running container\n    start       Start a stopped container\n    restart     Restart a running container\n    on          Change state to on \n    off         Change state to off (will not be affected by other commands)\n```\nList containers by state.\n\n```bash\n$ ./containers list\nON\n    first\n    third\n    fourth\nOFF\n    second\n```\n\nStart a container: `./containers start first`\n\nStart all containers which are not off: `./containers start`\n\nOff state prevents commands from working on the container.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnick-robo%2Fcontainer_manager_script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnick-robo%2Fcontainer_manager_script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnick-robo%2Fcontainer_manager_script/lists"}