{"id":18048096,"url":"https://github.com/startautomating/rocker","last_synced_at":"2025-10-29T15:40:27.154Z","repository":{"id":231248064,"uuid":"781246632","full_name":"StartAutomating/Rocker","owner":"StartAutomating","description":"Rock Docker with PowerShell","archived":false,"fork":false,"pushed_at":"2024-10-02T03:22:57.000Z","size":211,"stargazers_count":19,"open_issues_count":31,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T08:46:06.745Z","etag":null,"topics":["command-line-tool","docker","docker-compose","orchestration","powershell","powershell-module"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/StartAutomating.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["StartAutomating"]}},"created_at":"2024-04-03T02:43:05.000Z","updated_at":"2025-01-24T17:42:07.000Z","dependencies_parsed_at":"2024-05-27T18:14:55.887Z","dependency_job_id":"0eef0b89-0f95-471b-95e6-64f060cac40e","html_url":"https://github.com/StartAutomating/Rocker","commit_stats":null,"previous_names":["startautomating/rocker"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartAutomating%2FRocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartAutomating%2FRocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartAutomating%2FRocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartAutomating%2FRocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StartAutomating","download_url":"https://codeload.github.com/StartAutomating/Rocker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248197459,"owners_count":21063619,"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":["command-line-tool","docker","docker-compose","orchestration","powershell","powershell-module"],"created_at":"2024-10-30T20:11:35.703Z","updated_at":"2025-10-29T15:40:22.121Z","avatar_url":"https://github.com/StartAutomating.png","language":"PowerShell","funding_links":["https://github.com/sponsors/StartAutomating"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align='center' style='overflow: visible'\u003e\n\u003cimg src='Assets/Rocker.png' style='width:50%;overflow: visible' /\u003e\n\u003c/div\u003e\n\n## Rocker\n\nRock Docker with PowerShell\n\n### What is Rocker?\n\nRocker is a PowerShell module that makes Docker a bit cooler.\n\nIt allows docker to work with PowerShell's object pipeline, so you can pipe one step into the next.\n\nIt also gives you tab completion for any command in docker.\n\n### Installing and Importing\n\n~~~PowerShell\nInstall-Module Rocker -Scope CurrentUser\nImport-Module Rocker -Force -PassThru\n~~~\n\n### Examples\n\n~~~PowerShell\n\n        # Get Docker Help\n        docker help\n\n~~~\n\n~~~PowerShell\n\n        # Get Docker Help for a specific command\n        docker help run\n\n~~~\n\n~~~PowerShell\n\n        # Run a script in a container\n        docker run mcr.microsoft.com/powershell {\n            \"Hello from Docker! $pid\"\n        }\n\n~~~\n\n~~~PowerShell\n\n        # Run an nginx container, publishing port 8080 on the host.\n        docker run --detach @{8080=80} nginx\n\n~~~\n\n~~~PowerShell\n\n        # Run a script in a container, \n        # mount the current directory,\n        # and set an environment variable.\n        docker run @{\n            \"$pwd\"=\"/mnt\"\n            message='Hello from Docker!'\n        } mcr.microsoft.com/powershell {\n            \"$($env:message) $(@(Get-ChildItem /mnt -recurse -File).Length) files mounted.\"\n        }\n\n~~~\n\n~~~PowerShell\n\n        # List all containers\n        docker container ls |\n            docker diff # show their differences from the image.\n\n~~~\n\n~~~PowerShell\n\n        # List all containers,\n        docker container ls |            \n            docker container pause\n            # and pause them.\n\n~~~\n\n~~~PowerShell\n\n        # List all containers,\n        docker container ls |            \n            docker container unpause \n            # and start them up again.\n\n~~~\n\n~~~PowerShell\n\n        # List all containers.\n        docker container ls |            \n            docker history \n            # get their history\n\n~~~\n\n~~~PowerShell\n\n        # Stop all running containers.\n        docker container ls |\n            docker container stop\n\n~~~\n\n~~~PowerShell\n\n        # Get system disk information\n        docker system df\n\n~~~\n\n~~~PowerShell\n\n        # Get system info\n        docker system info\n\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstartautomating%2Frocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstartautomating%2Frocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstartautomating%2Frocker/lists"}