{"id":26059706,"url":"https://github.com/orange-cloudfoundry/orange-cf-bosh-cli","last_synced_at":"2026-03-04T12:01:19.210Z","repository":{"id":3335188,"uuid":"49076404","full_name":"orange-cloudfoundry/orange-cf-bosh-cli","owner":"orange-cloudfoundry","description":"docker file for CF operations clients","archived":false,"fork":false,"pushed_at":"2026-03-03T17:20:58.000Z","size":602,"stargazers_count":12,"open_issues_count":0,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2026-03-03T18:50:30.513Z","etag":null,"topics":[],"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/orange-cloudfoundry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-2.0.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-01-05T16:01:44.000Z","updated_at":"2026-03-03T17:23:13.000Z","dependencies_parsed_at":"2023-09-23T00:05:13.697Z","dependency_job_id":"23b4510e-6bec-41e7-b976-1f9feae0a39b","html_url":"https://github.com/orange-cloudfoundry/orange-cf-bosh-cli","commit_stats":null,"previous_names":[],"tags_count":84,"template":false,"template_full_name":null,"purl":"pkg:github/orange-cloudfoundry/orange-cf-bosh-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Forange-cf-bosh-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Forange-cf-bosh-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Forange-cf-bosh-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Forange-cf-bosh-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orange-cloudfoundry","download_url":"https://codeload.github.com/orange-cloudfoundry/orange-cf-bosh-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Forange-cf-bosh-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30079565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T11:57:42.557Z","status":"ssl_error","status_checked_at":"2026-03-04T11:56:10.793Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-03-08T13:27:57.389Z","updated_at":"2026-03-04T12:01:19.020Z","avatar_url":"https://github.com/orange-cloudfoundry.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud Foundry Docker Bosh cli [![Docker Automated build](build_automated.svg)](https://github.com/orange-cloudfoundry/orange-cf-bosh-cli/pkgs/container/orange-cf-bosh-cli)\n`cf-bosh-cli` is used to deploy several cli tools through docker image.  \nThe container expose ssh port. Password or key (rsa only) authentication is supported.\n\n## Installed tools\n\n### Bosh tools\n* `bbr` - Bosh Backup and Restore cli (http://docs.cloudfoundry.org/bbr/)\n* `bosh` - Bosh cli (https://bosh.io/docs/cli-v2.html)\n* `bosh-gen` - Bosh releases creation (https://github.com/cloudfoundry-community/bosh-gen)\n* `cf` - Cloud Foundry cli (https://github.com/cloudfoundry/cli)\n* `credhub` - Credhub cli (https://github.com/cloudfoundry-incubator/credhub-cli)\n* `fly` - Concourse cli (https://github.com/concourse/fly)\n* `uaac` - Cloud Foundry UAA cli (https://github.com/cloudfoundry/cf-uaac)\n* `shield` - Shield cli (https://docs.pivotal.io/partners/starkandwayne-shield/)\n\n### Kubernetes tools\n* `argo` - Kubernetes workflow management (https://argoproj.github.io/argo-workflows/)\n* `cmctl` - Cert-manager cli (https://github.com/cert-manager/cmctl)\n* `cilium` - Kubernetes cilium network management (https://github.com/cilium/cilium-cli)\n* `cnpg` - Cloud Native Postgres cli (https://github.com/cloudnative-pg/cloudnative-pg)\n* `crossplane` - Kubernetes crossplane (https://docs.crossplane.io/latest/cli)\n* `flux` - Kubernetes Gitops management (https://fluxcd.io/docs/cmd/)\n* `helm` - Kubernetes Package Manager (https://docs.helm.sh/)\n* `hubble` - Kubernetes Monitoring management (https://github.com/cilium/hubble/)\n* `klbd` - Kubernetes image build orchestrator tool (https://github.com/k14s/kbld/)\n* `kubectl` - Kubernetes cli (https://kubernetes.io/docs/reference/generated/kubectl/overview/)\n* `kubens` - Kubernetes namespace selection cli (https://github.com/ahmetb/kubectx/)\n* `kubeswitch` - Kubernetes context selection cli (https://github.com/danielfoehrKn/kubeswitch)\n* `kyverno` Kubernetes policy engine (https://github.com/kyverno/kyverno/)\n* `k9s` - Kubernetes cli (https://github.com/derailed/k9s)\n* `logcli` - Loki cli (https://github.com/grafana/loki/)\n* `nu` - NuShell cli (https://github.com/nushell/nushell/)\n* `pinniped` - Identity services cli (https://github.com/vmware-tanzu/pinniped/)\n* `popeye` - Live Cluster Linter cli (https://github.com/derailed/popeye/)\n* `rbac-tool` - Rbac cli (https://github.com/alcideio/rbac-tool/)\n* `task` - Task runner cli (https://github.com/go-task/task/)\n* `vault` - Vault cli (https://releases.hashicorp.com/vault/)\n* `vcluster` - VCluster cli (https://github.com/loft-sh/vcluster/)\n* `zed` - SpiceDB cli (https://github.com/authzed/zed/)\n\n### Other tools\n* `gitlab` - Gitlab cli (https://gitlab.com/gitlab-org/cli/)\n* `github` - Github cli (https://github.com/cli/cli)\n* `git-filter-repo` - Git rewriting history tool (https://github.com/newren/git-filter-repo)\n* `goss` - Server Validation cli (https://github.com/goss-org/goss)\n* `govc` - Vsphere cli (https://github.com/vmware/govmomi/tree/master/govc/)\n* `mc` - Minio S3 cli (https://github.com/minio/mc)\n* `jq` - JSON processing tool (https://stedolan.github.io/jq/)\n* `jwt` - JSON web tokens tool (https://github.com/mike-engel/jwt-cli/)\n* `mdless` - Provides a formatted and highlighted view of Markdown files in Terminal (https://github.com/ttscoff/mdless)\n* `mongo` - MongoDB shell cli for bosh (https://docs.mongodb.com/manual/mongo/)\n* `mongosh` - MongoDB shell cli for k8s (https://docs.mongodb.com/manual/mongo/)\n* `mysqlsh` - MySQL shell cli (https://dev.mysql.com/doc/mysql-shell-excerpt/5.7/en/)\n* `redis` - Redis cli (https://redis.io/topics/rediscli/)\n* `spruce` - YAML templating tool, for Bosh deployment manifests generation (https://github.com/geofffranks/spruce)\n* `terraform` - Terraform cli (https://www.terraform.io/)\n* `vendir` - Define and fetch components to target directory (https://github.com/vmware-tanzu/carvel-vendir/)\n* `yarn` - Package manager (https://yarnpkg.com/fr/)\n* `yq` -  YAML, JSON, INI and XML processor Tool (https://github.com/mikefarah/yq)\n* `ytt` - YAML Templating Tool (https://github.com/k14s/ytt/)\n\n## How to get it or build it\n\n### How to get it\nPull the image from github container registry:  \n\u003ccode\u003edocker pull ghcr.io/orange-cloudfoundry/orange-cf-bosh-cli:\u003cimage_tag\u003e\u003c/code\u003e\n\n### How to build it\nClone the repository:  \n\u003ccode\u003egit clone https://github.com/orange-cloudfoundry/orange-cf-bosh-cli.git\u003c/code\u003e\n\nThen, build the image:  \n\u003ccode\u003edocker build -t cf-bosh-cli:\u003cimage_tag\u003e .\u003c/code\u003e\n\n## How to use it\n\n\u003e**Note:**  \n\u003e When connected, you can see cli/tools/aliases list with `tools` command from shell interface.\n\n### How to use as standalone container (if you have a simple docker host)\n\n#### With public ssh key provided to the container\n\nLaunch the image (don't miss to assign an host port to the container ssh port 22) :  \n\u003ccode\u003edocker run --name bosh-cli -d -p 2222:22 -v /home/bosh -v /data -e \"SSH_PUBLIC_KEY=\u003cpath_to_your_public_ssh-rsa_key\u003e\" orangecloudfoundry/orange-cf-bosh-cli\u003c/code\u003e\n\nThen, log into the container with ssh :  \n\u003ccode\u003essh -p 2222 -i \u003cpath_to_your_rsa_private_key\u003e bosh@localhost\u003c/code\u003e\n\nThe password is completely disabled. By default, the file containing the public key \u003ccode\u003e~/.ssh/authorized_keys\u003c/code\u003e is overwrited after container restart or update.\n\n### How to use it using \"Docker Bosh Release\"\nAnother option is to deploy the container threw the \"Docker Bosh Release\" (https://github.com/cloudfoundry-community/docker-boshrelease).\n\nIn the following example:\n* We deploy 1 instance of the container.\n* The homedirectory of the bosh account is a private docker volume.\n* The directory /data is a shared docker volume (from the container called \"data_container\").\n* The first container has a provided public key.\n\nBosh deployment manifest exmple:\n\n```\ndeployment_name = 'bosh-cli'\nstatic_ip = 'xx.xx.xx.xx'\ndns_servers = 'xx.xx.xx.xx'\nhttp_proxy = 'http://proxy:3128'\nhttps_proxy = 'http://proxy:3128'\ndocker_image = 'orangecloudfoundry/orange-cf-bosh-cli'\ndocker_tag = 'latest'\n---\nname: \u003cdeployment_name\u003e\ndirector_uuid: \u003cdirector_uuid\u003e\n\nreleases:\n - name: docker\n   version: latest\n\ncompilation:\n  workers: 1\n  network: default\n  reuse_compilation_vms: true\n  cloud_properties:\n    cpu: 1\n    disk: 8096\n    ram: 2048\n\nupdate:\n  canaries: 0\n  canary_watch_time: 30000-1200000\n  update_watch_time: 30000-1200000\n  max_in_flight: 32\n  serial: false\n\nnetworks:\n- name: default\n  type: manual\n  subnets:\n    - range: xx.xx.xx.xx/xx\n      reserved:\n      - xx.xx.xx.xx-xx.xx.xx.xx\n      static:\n      - \u003cstatic_ip\u003e\n      gateway: xx.xx.xx.xx\n      dns: [\u003cdns_servers\u003e]\n      cloud_properties:\n        name: NET\n\nresource_pools:\n- name: default\n  stemcell:\n    name: xxx\n    version: latest\n  network: default\n  cloud_properties:\n    ram: 512\n    disk: 4_096\n    cpu: 2\n\njobs:\n  - name: bosh-cli\n    templates:\n      - name: docker\n      - name: containers\n    instances: 1\n    resource_pool: default\n    persistent_disk: 102_400\n    networks:\n      - name: default\n        default: [dns, gateway]\n        static_ips:\n          - \u003cstatic_ip\u003e\n\nproperties:\n  containers:\n  - name: data_container\n    image: \u003cdocker_image\u003e:\u003cdocker_tag\u003e\n    bind_volumes:\n    - \"/data\"\n    volumes:\n    - \"/etc/ssl/certs:/etc/ssl/certs:ro\"\n    - \"/var/vcap/data/tmp/bosh-cli:/var/tmp/bosh-cli:ro\"\n\n  - name: user1_bosh_cli\n    image: \u003cdocker_image\u003e:\u003cimage_tag\u003e\n    hostname: user1_bosh_cli\n    env_vars:\n    - \"SSH_PUBLIC_KEY=\u003cyour_ssh-rsa_public_key\u003e\"\n    bind_ports:\n    - \"2222:22\"\n    volumes:\n    - /home/bosh\n    depends_on:\n    - data_container\n    volumes_from:\n    - data_container\n\n  - name: user2_bosh_cli\n    image: \u003cdocker_image\u003e:\u003cimage_tag\u003e\n    hostname: user2_bosh_cli\n    env_vars:\n    - \"SSH_PUBLIC_KEY=\u003cyour_ssh-rsa_public_key\u003e\"\n    bind_ports:\n    - \"2223:22\"\n    volumes:\n    - /home/bosh\n    depends_on:\n    - data_container\n    volumes_from:\n    - data_container\n```\n\nThen, log into the container you want with ssh :  \n\u003ccode\u003essh -i \u003cpath_to_your_rsa_private_key\u003e -p 2222 bosh@docker.bosh.release.deployment\u003c/code\u003e  \n\nTo log into first container (replace docker.bosh.release.deployment with IP or dns name of docker host deployed using bosh release).\n\n# Appendices\n\n## k9s hotkeys\n\n|Shortcut       |Description          |\n|---------------|---------------------|\n|`F1`           | View kustomizations |\n|`F2`           | View namespaces     |\n|`F3`           | View pods           |\n|`F4`           | View deployments    |\n|`F5`           | View daemonsets     |\n|`F6`           | View services       |\n|`F7`           | View helmreleases   |\n|`F8`           | View configmaps     |\n|`F1`           | View secrets        |\n\n## k9s shorcuts\n\n|Shortcut       |Description          |\n|---------------|---------------------|\n|`\u003c0\u003e`          | Select all objects  |\n|`\u003c?\u003e`          | Help                |\n|`\u003c:q\u003e`         | Quit                |\n|`\u003center\u003e`      | View                |\n|`\u003cesc\u003e`        | Back                |\n|`\u003cbacktab\u003e`    | Field Previous      |\n|`\u003cspace\u003e`      | Mark raw            |\n|`\u003ctab\u003e`        | Next field          |\n|`\u003c/term\u003e`      | Filter mode         |\n\u003cBR\u003e\n\n|Shortcut       |Description             |Scope                  | Plugin |\n|---------------|------------------------|-----------------------|--------|\n|`\u003ca\u003e`          | Attach                 | pod, container/chart  |        |\n|`\u003cb\u003e`          | Bench Run/Stop         | service, portforwards |        |\n|`\u003cc\u003e`          | Copy                   | node, pod, container  |        |\n|`\u003cd\u003e`          | Describe               | all                   |        |\n|`\u003ce\u003e`          | Edit                   | all                   |        |\n|`\u003cf\u003e`          | Show PortForward       | pod, container        |        |\n|`\u003cg\u003e`          | Goto Top               | all                   |        |\n|`\u003ch\u003e`          | Left                   | all                   |        |\n|`\u003ci\u003e`          | Set Image              |                       |        |\n|`\u003cj\u003e`          | Down                   | all                   |        |\n|`\u003ck\u003e`          | Up                     | all                   |        |\n|`\u003cl\u003e`          | Right/Logs             | all                   |        |\n|`\u003cm\u003e`          | Mark                   |                       |        |\n|`\u003cn\u003e`          | Copy Namespace         | pod                   |        |\n|               | Namespace inventory    | namespaces            | X      |\n|`\u003co\u003e`          | Show Node              | pod                   |        |\n|`\u003cp\u003e`          | Logs Previous          |                       |        |\n|               | PSQL shell             | cluster               | X      |\n|`\u003cr\u003e`          | Toggle Auto-Refresh    |                       |        |\n|`\u003cs\u003e`          | Shell                  |                       |        |\n|`\u003ct\u003e`          | Trigger cron           |                       |        |\n|               | Run argo workflow      | workflowtemplates     | X      |\n|`\u003cu\u003e`          | Use/UsedBy             |                       |        |\n|`\u003cv\u003e`          | Vulnerabilities        |                       |        |\n|`\u003cw\u003e`          |                        |                       |        |\n|`\u003cx\u003e`          | Decode                 | secrets               |        |\n|               | Flux inventory         | namespaces            | X      |\n|`\u003cy\u003e`          | YAML                   |                       |        |\n|`\u003cz\u003e`          | zorg                   |                       |        |\n\u003cBR\u003e\n\n|Shortcut       |Description           |Scope                                  | Plugin |\n|---------------|----------------------|---------------------------------------|--------|\n|`\u003cctrl-a\u003e`     | Aliases              |                                       |        |\n|`\u003cctrl-b\u003e`     | Page Up              |                                       |        |\n|`\u003cctrl-d\u003e`     | Delete               |                                       |        |\n|`\u003cctrl-e\u003e`     | Toggle Header        |                                       |        |\n|`\u003cctrl-f\u003e`     | Page Down            |                                       |        |\n|`\u003cctrl-g\u003e`     | Toggle Crumbs        |                                       |        |\n|`\u003cctrl-j\u003e`     | Blame                | all                                   | X      |\n|`\u003cctrl-k\u003e`     | Kill                 |                                       |        |\n|`\u003cctrl-l\u003e`     | Display logs         | deployment, daemonset, pod, container | X      |\n|`\u003cctrl-n\u003e`     | Display dependencies | all                                   | X      |\n|`\u003cctrl-q\u003e`     | Sort MEM/L           |                                       |        |\n|`\u003cctrl-r\u003e`     | Refresh/Reload       |                                       |        |\n|`\u003cctrl-s\u003e`     | Save                 |                                       |        |\n|`\u003cctrl-u\u003e`     | Command Clear        |                                       |        |\n|`\u003cctrl-v\u003e`     | Display subst. vars  |                                       | X      |\n|`\u003cctrl-w\u003e`     | Toggle Wide          |                                       |        |\n|`\u003cctrl-x\u003e`     | Sort CPU/L           |                                       |        |\n|`\u003cctrl-\\\u003e`     | Mark Clear           |                                       |        |\n|`\u003cctrl-space\u003e` | Mark Range           |                                       |        |\n\u003cBR\u003e\n\n|Shortcut       |Description          |Scope                                                                                                 | Plugin |\n|---------------|---------------------|------------------------------------------------------------------------------------------------------|--------|\n|`\u003cshift-a\u003e`    | Sort Age            | all                                                                                                  |        |\n|`\u003cshift-b\u003e`    | Sort Binding        | policy                                                                                               |        |\n|               | Display cmd         | all                                                                                                  | X      |\n|`\u003cshift-c\u003e`    | Sort CPU            | all                                                                                                  |        |\n|               | Show certs          | secrets                                                                                              | X      |\n|`\u003cshift-d\u003e`    | Sort desired        | ds/rs                                                                                                |        |\n|               | Run debug container | containers                                                                                           | X      |\n|`\u003cshift-e\u003e`    | Sort errors         | popeye                                                                                               |        |\n|`\u003cshift-f\u003e`    | Port-Forward        | containers, events                                                                                   |        |\n|`\u003cshift-g\u003e`    | Goto Bottom         | all                                                                                                  |        |\n|`\u003cshift-h\u003e`    | Helm inventory      | helmreleases                                                                                         | X      |\n|               | Watch events        | all                                                                                                  | X      |\n|`\u003cshift-i\u003e`    | Sort IP             | pods/popeye                                                                                          |        |\n|`\u003cshift-j\u003e`    | NOT USED            |                                                                                                      |        |\n|`\u003cshift-k\u003e`    | Sort Kind           | workloads, groups, users                                                                             |        |\n|`\u003cshift-l\u003e`    | Sort MEM            |                                                                                                      |        |\n|`\u003cshift-m\u003e`    | Sort Name           |                                                                                                      |        |\n|`\u003cshift-n\u003e`    | Sort Name           |                                                                                                      |        |\n|`\u003cshift-o\u003e`    | Sort Node           |                                                                                                      |        |\n|`\u003cshift-p\u003e`    | Sort Ready          |                                                                                                      |        |\n|`\u003cshift-q\u003e`    | Display app status  | app                                                                                                  | X      |\n|               | Certificate status  | certificates                                                                                         | X      |\n|               | Cnpg status         | cluster                                                                                              | X      |\n|               | List all values     | pod, container/chart                                                                                 | X      |\n|               | Display loki logs   | namespaces, pod                                                                                      | X      |\n|               | List suspended      | helmreleases, kustomizations                                                                         | X      |\n|`\u003cshift-r\u003e`    | Sort Ready          |                                                                                                      |        |\n|`\u003cshift-s\u003e`    | Sort Status         | all                                                                                                  |        |\n|`\u003cshift-t\u003e`    | Sort Restart        | all                                                                                                  |        |\n|               | Suspend/resume      | app, helmreleases, kustomizations, gitrepositories, terraform                                        | X      |\n|`\u003cshift-u\u003e`    | Sort UpToDate       | dp/pf/ds                                                                                             |        |\n|`\u003cshift-v\u003e`    | Sort Volume         | reference/pvc/img_scan                                                                               |        |\n|`\u003cshift-w\u003e`    | Sort Warning        | popeye                                                                                               |        |\n|`\u003cshift-x\u003e`    | Sort CPU/R          | pod                                                                                                  |        |\n|`\u003cshift-y\u003e`    | NOT USED            |                                                                                                      |        |\n|`\u003cshift-z\u003e`    | Sort MEM/R          | pod                                                                                                  |        |\n|               | Flux reconcile      | app, es, gitrepositories, helmreleases, helmrepositories, kustomizations, ocirepositories, terraform | X      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forange-cloudfoundry%2Forange-cf-bosh-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forange-cloudfoundry%2Forange-cf-bosh-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forange-cloudfoundry%2Forange-cf-bosh-cli/lists"}