{"id":15621500,"url":"https://github.com/olivierodo/mbp-btt-docker-touchbar","last_synced_at":"2025-10-08T05:52:01.705Z","repository":{"id":78007149,"uuid":"128654059","full_name":"olivierodo/MBP-BTT-docker-touchbar","owner":"olivierodo","description":" :whale: Docker touchbar widget for Macbook pro","archived":false,"fork":false,"pushed_at":"2018-04-09T14:40:46.000Z","size":303,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T21:12:05.938Z","etag":null,"topics":["applescript","bettertouchtool","docker","macbook","touch","widget"],"latest_commit_sha":null,"homepage":null,"language":"AppleScript","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/olivierodo.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":"2018-04-08T15:16:20.000Z","updated_at":"2021-03-23T03:55:23.000Z","dependencies_parsed_at":"2023-08-27T11:15:23.603Z","dependency_job_id":null,"html_url":"https://github.com/olivierodo/MBP-BTT-docker-touchbar","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/olivierodo%2FMBP-BTT-docker-touchbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olivierodo%2FMBP-BTT-docker-touchbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olivierodo%2FMBP-BTT-docker-touchbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olivierodo%2FMBP-BTT-docker-touchbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olivierodo","download_url":"https://codeload.github.com/olivierodo/MBP-BTT-docker-touchbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631681,"owners_count":21136562,"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":["applescript","bettertouchtool","docker","macbook","touch","widget"],"created_at":"2024-10-03T09:40:30.516Z","updated_at":"2025-10-08T05:52:01.586Z","avatar_url":"https://github.com/olivierodo.png","language":"AppleScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BetterTouchTool - Docker running container display - Touch Bar\n\n## Description\n\nIf you have a MacBook Pro with the touchbar this project will help you to customize your touchbar by :\n\n - Displaying the number of docker running container\n\n## Screenshot\n \nExample Full bar (3rd widget) :\n\n![config widget](./img/full-touchbar.png)\n\nExample widget :\n\n![screenshot](./img/screenshot-touchbar.png)\n\n\n## Prerequisite\n\n - MacBook pro with the Touch Bar\n - [BetterTouchTool](https://www.boastr.net/downloads/) installed\n - Docker install on the Macbook or a virtual machine\n - You can read this article: [Hands-on: Creating a custom Touch Bar button using BetterTouchTool](https://9to5mac.com/2016/12/02/hands-on-custom-touch-bar-button-bettertouchtool-video/)\n\n\n## Config\n\nFirst, you need to add a new widget on the global section. Find the configuration below.\n\n![config widget](./img/screenshot-config.png)\n\n#### Icon\n\n![icon](./icon.png)\n\n#### Script\n\n##### Local install\n\nFor the widget display paste the following script as shared on the previous screenshot.\n\n[Script: Running docker on local](./touchbar.applescript)\n\n##### Virtual machine install\n\n###### Prerequisite\n - [Enable the Docker API](https://success.docker.com/article/how-do-i-enable-the-remote-api-for-dockerd) (run docker with the option -H x.x.x.x:port)\n \n⚠️ Before saving think about replacing the text *_________YOUR_DOCKER_TCP_ENDPOINT_________* by your docker api endpoint\n\n\n[Script: Running docker in a virtual machine](./touchbar-virtualbox.applescript)\n\n\n\nAnd Voila !\n\n![config widget](./img/full-touchbar.png)\n\n### Other widget available on github\n\n- [Spotify](https://github.com/olivierodo/MBP-BTT-spotify-touchbar)\n- [Clipboard](https://github.com/olivierodo/MBP-BTT-clipboard-touchbar)\n- [Wifi](https://github.com/olivierodo/MBP-BTT-wifi-touchbar)\n- [Activity Monitor](https://github.com/olivierodo/MBP-BTT-activity-monitor-touchbar)\n- [Volume](https://github.com/olivierodo/MBP-BTT-volume-touchbar)\n- [Docker](https://github.com/olivierodo/MBP-BTT-docker-touchbar)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folivierodo%2Fmbp-btt-docker-touchbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folivierodo%2Fmbp-btt-docker-touchbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folivierodo%2Fmbp-btt-docker-touchbar/lists"}