{"id":22653906,"url":"https://github.com/gslabdev/docker-connector","last_synced_at":"2025-10-28T05:09:15.772Z","repository":{"id":96137021,"uuid":"109952263","full_name":"GSLabDev/docker-connector","owner":"GSLabDev","description":"Mulesoft connector for docker","archived":false,"fork":false,"pushed_at":"2018-02-21T14:19:24.000Z","size":692,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-03T21:33:49.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GSLabDev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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-08T09:04:38.000Z","updated_at":"2024-08-23T09:53:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5b3139c-694d-43c1-a51b-b2b82a7a8ffd","html_url":"https://github.com/GSLabDev/docker-connector","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/GSLabDev%2Fdocker-connector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSLabDev%2Fdocker-connector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSLabDev%2Fdocker-connector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSLabDev%2Fdocker-connector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GSLabDev","download_url":"https://codeload.github.com/GSLabDev/docker-connector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246156025,"owners_count":20732357,"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":[],"created_at":"2024-12-09T09:30:32.564Z","updated_at":"2025-10-28T05:09:10.724Z","avatar_url":"https://github.com/GSLabDev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README.md\n\n## Docker Anypoint™ Connector\nDocker Connector is a communication tool that provides seamless integration with the Docker engine from a mule flow. It exposes Docker operations by executing API calls as per configuration. It supports *HTTP* and *HTTPS* connections and can be used as inbound, inbount streaming and outbound connector from the mule flow. Docker connector is build using docker-java client. \n\n## Supported Mule runtime versions\nMule 3.8.5\n\n## Supported Docker versions\nDocker API version 1.24 or above\n\n## Installation \n\nInstall connector in Anypoint Studio following the instructions at [Installing Connectors from Anypoint Exchange](https://docs.mulesoft.com/mule-user-guide/v/3.9/installing-connectors) \n\nTo configure and use the Docker connector refer [user manual](doc/docker-connector-user-manual.adoc) \n\n## Authentication\n* Docker host can be accessed in two different ways from a client (Mule runtime / Anypoint studio ): \n    - Without Authentication (HTTP)\n    - With Certificate based authentication (HTTPS)\n\n### WITHOUT AUTHENTICATION (HTTP)\nProvide docker host and port in a global configuration of docker connector. Without authentication use is generally recommended for internal applications where Docker daemon is running on HTTP port.\n\nTo make the docker daemon listening on a HTTP port:\n- Stop Docker daemon if running:\n```\n$service docker stop\n```\n- Start Docker daemon on http:\n```\n$dockerd -H=0.0.0.0:2375\n```\n\n### CERTIFICATE BASED AUTHENTICATION (HTTPS)\n- Provide docker host, port and certificate paths in a global configuration of docker connector. Docker daemon is running on HTTPS port.\nCertificates required in this authentication mechanism are -\n    - CA certificate (ca.pem)\n    - Server certificate (server-cert.pem)\n    - Server key (server-key.pem)\n    - Client certificate (cert.pem)\n    - Client key (key.pem)\n    \n***Note : For more information refer [Docker Documentation](https://docs.docker.com/engine/security/https/)***\n    \n- To make the Docker daemon listening on a https, generate server and client certificates on docker host.\n    - Stop Docker daemon if running:\n    ```\n    $service docker stop\n    ```\n    - Start docker daemon on https using following command:\n    ```\n    $dockerd --tlsverify --tlscacert=ca.pem --tlscert=server-cert.pem --tlskey=server-key.pem -H=0.0.0.0:2376\n    ```\n    \n    ***Note: This will start docker daemon on port 2376.\n    Copy certificates (ca.pem, key.pem and cert.pem) from Docker host to Anypoint studio for HTTPS configuration.***\n        \n## Testing information\n\n### To run functional tests\n-   Update properties in src/test/resources/automation-credentials.properties according to which config-type you are using.\n    - Properties required for HTTP docker configuration:\n        - HTTP-Docker-Config.dockerHostIP= host name or IP of docker host\n        - HTTP-Docker-Config.dockerHostPort=port exposed by docker host\n        - HTTP-Docker-Config.apiVersion=API version of docker engine\n    \n    - Properties required for HTTPS docker configuration:\n        - HTTPS-Docker-Config.dockerHostIP= host name or IP of docker host\n        - HTTPS-Docker-Config.dockerHostPort=port exposed by docker host\n        - HTTPS-Docker-Config.apiVersion=API version of docker engine\n        - HTTPS-Docker-Config.apiVersion.clientCertificateDirectoryPath=Path of directory containing certificates required for docker TLS connection (ca.pem, cert.pem, key.pem)\n        \n- Set VM or maven arguments to -Dactiveconfiguration=HTTPS-Docker-Config or -Dactiveconfiguration=HTTP-Docker-Config depending on which config-type you are using.\n- Run Junit test suite FunctionalTestSuite.java with HTTP-Docker-Config using following command: \n        ```\n        mvn clean \u0026\u0026 mvn test -Dtest=\"*TestSuite,*Test\" -Dactiveconfiguration=HTTP-Docker-Config\n        ```    \n\n\n## Reporting Issues\n\nUse GitHub for tracking issues with this connector. To report new issues use this [link] (https://github.com/GSLabDev/docker-connector/issues).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgslabdev%2Fdocker-connector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgslabdev%2Fdocker-connector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgslabdev%2Fdocker-connector/lists"}