{"id":13695267,"url":"https://github.com/ubirak/docker-php","last_synced_at":"2025-04-12T07:39:35.392Z","repository":{"id":90759457,"uuid":"111529081","full_name":"ubirak/docker-php","owner":"ubirak","description":"docker client in php to hack missing features of official docker client","archived":false,"fork":false,"pushed_at":"2018-01-22T11:46:59.000Z","size":2188,"stargazers_count":4,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-12T23:35:56.626Z","etag":null,"topics":["docker-client","hack","stack","swarm"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ubirak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-11-21T09:42:40.000Z","updated_at":"2020-12-30T14:01:13.000Z","dependencies_parsed_at":"2024-01-11T01:00:47.859Z","dependency_job_id":null,"html_url":"https://github.com/ubirak/docker-php","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/ubirak%2Fdocker-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubirak%2Fdocker-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubirak%2Fdocker-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubirak%2Fdocker-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ubirak","download_url":"https://codeload.github.com/ubirak/docker-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248536367,"owners_count":21120681,"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-client","hack","stack","swarm"],"created_at":"2024-08-02T18:00:20.455Z","updated_at":"2025-04-12T07:39:35.373Z","avatar_url":"https://github.com/ubirak.png","language":"PHP","funding_links":[],"categories":["Docker PHP sdk (clients)"],"sub_categories":[],"readme":"# docker-php\n\ndocker-php is a docker client writen in php. You can see it as a hack for some currently missing features in the official docker client.\n\n## Born\n\nThe primary need was to find a workaround about docker stack deploy as at the time of the creation of this project it don't support some `--detach=false` option (see [docker/cli#373](https://github.com/docker/cli/issues/373)), so when it come to run end to end (e2e) tests on your `ci` (or your local machine) with some freshly deployed docker stack... you probably then launch your tests on a not ready stack!\n\n## Commands\n\nThere's currently only one command:\n\n```shell\ndocker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock ubirak/docker-php:latest stack:converge \u003cstack\u003e\n```\n\n![stack converge demo](./demo/stack-converge.demo.gif)\n\nFor help and more options:\n\n```shell\ndocker run --rm -it ubirak/docker-php:latest stack:converge --help\n```\n\n**NOTE**: this command is also able to track that short lived services of a deployment should reach successfully their shutdown state. You have to add a `docker-php.service.lifecycle=shortlived` on concerned services.\n\n## Audience\n\ndocker-php is intended for people that want to hack around docker client for missing/not merged features.\n\n## Troubleshooting\n\n\u003e Error thrown while running command \"stack:converge website_designer\". Message: \"The command \"docker stack ps website_designer --format='{{json .}}'\" failed.\n\nThe service need access to your docker sock. You can run it as root `-u root` or change the read permission of your `/var/run/docker.sock`\n\n# Licensing\n\ndocker-php is licensed under the Apache License, Version 2.0. See [LICENSE](https://github.com/ubirak/docker-php/blob/master/LICENSE) for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubirak%2Fdocker-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubirak%2Fdocker-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubirak%2Fdocker-php/lists"}