Skip to content

rancher

Command-line interface for rancher

The Rancher Command Line Interface (CLI) is a unified tool for interacting with your Rancher Server.

devops

https://github.com/rancher/cli

armhf amd64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install rancher

sudo apt install rancher

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    rancher=2.8.3*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      rancher=2.8.3*

Download URLs

Version SHA256 Size (KB)
2.8.3 c2d01531dc51d975d6f545c535ce25b28e32c3d70c5ad1a8c3d457aecb0ca680 3801
2.8.0 3d2a9edc43042ca46cf7866e7761b60fd54773029fece9d77515674145975619 3803
2.7.7 c862b80e4c7931f006fa9467b5d2df04dee5f3ddfadaf70ed83b2e25ede05ac4 3751
2.7.0 dc0992d8a80cc130b793dd001c0cb8a41580444737dd390f914f409bef18b63e 3608
2.6.9 7810c0995642187c966e1b2c97daeaae247abbdc514103daf6d13b818a8c6712 3609
2.6.7 2a9a1b77496fb5d3c2b5e8e67da8f9541bca24dda590a0a3385897113e4a3d3b 3606
2.6.5 0d5ad5cd9abd3a807c59b86d62afe0450b41ca53d0ddba42c46057d49583f01b 3608
2.6.4 b968b86b03e13e88880b46fdd18a945b7bb427ebeb53d334874e66418555ef8b 3608
2.4.14 0f10d364640266e4d1a35d2a9495d5cd3f492f8be80db55805b242140153e675 3540
Version SHA256 Size (KB)
2.8.3 90301ac71494c2a5ab90b2cdd8019d917e733f41766803454d628c41fd2bcb0f 3289
2.8.0 f4c36ebcf2b624b38726ea24beb91a238479d8b440b0fb04dbdccfe0161c4ff4 3289
2.7.7 ddcc45e507aacdf6eb86c182150d3955f424457d24bf9515e336f60235bed224 3252
2.7.0 ba25cededc65c2923621135337c59a4129f0d533f3440f75458eb7d2cdd9d3a6 3108
2.6.9 aa4f69f342231326f9e39d63130eee09fb5e2f5b3f4c981e09c160e26b73ed44 3108
2.6.7 bc014a2c029b97293dbd4d5882147ee5a00143264aba1bcdbc312ebfe2c264e2 3107
2.6.5 076284d9c1a7b8f8b3204eb77430d5f9253dd44a1cc594d80882b3f214dc91c7 3108
2.6.4 8b0f5714dbc6c4c8a919d32587cc0ff6efa527c4d70eaeb64245c57590dac308 3107
2.4.14 21544369bbd5bdd2c7c0a30cd42ae02132a21c4696376e1240707976d7d36081 3050

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for rancher are versioned here.

Click here to see rancher ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/rancher/ops2deb.yml
- name: rancher
  version: 2.4.14
  homepage: https://github.com/rancher/cli
  summary: command-line interface for rancher
  description: |-
    The Rancher Command Line Interface (CLI) is a unified tool for interacting with
    your Rancher Server.
  fetch: https://github.com/rancher/cli/releases/download/v{{version}}/rancher-linux-amd64-v{{version}}.tar.gz
  script:
    - mv rancher-v{{version}}/rancher {{src}}/usr/bin/rancher

- name: rancher
  matrix:
    architectures:
      - armhf
      - amd64
    versions:
      - 2.4.14
      - 2.6.4
  homepage: https://github.com/rancher/cli
  summary: command-line interface for rancher
  description: |-
    The Rancher Command Line Interface (CLI) is a unified tool for interacting with
    your Rancher Server.
  fetch: https://github.com/rancher/cli/releases/download/v{{version}}/rancher-linux-{{goarch}}-v{{version}}.tar.gz
  script:
    - mv rancher-v{{version}}/rancher {{src}}/usr/bin/rancher

- name: rancher
  matrix:
    architectures:
      - amd64
      - armhf
    versions:
      - 2.6.5
      - 2.6.7
      - 2.6.9
      - 2.7.0
      - 2.7.7
      - 2.8.0
      - 2.8.3
  homepage: https://github.com/rancher/cli
  summary: command-line interface for rancher
  description: |-
    The Rancher Command Line Interface (CLI) is a unified tool for interacting with
    your Rancher Server.
  fetch: https://github.com/rancher/cli/releases/download/v{{version}}/rancher-linux-{{goarch}}-v{{version}}.tar.gz
  install:
    - rancher-v{{version}}/rancher:/usr/bin/

The blueprint fetch keyword contains a URL template pointing to rancher releases. Downloaded files are locked in a lockfile versioned here.

Click here to see rancher release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/rancher/ops2deb.lock.yml
- url: https://github.com/rancher/cli/releases/download/v2.4.14/rancher-linux-amd64-v2.4.14.tar.gz
  sha256: 70f4839ede2735485a8bee07da30db2854c9188483f1857b1ed12c38c39822c3
  timestamp: 2022-01-04 19:03:11+00:00
- url: https://github.com/rancher/cli/releases/download/v2.4.14/rancher-linux-arm-v2.4.14.tar.gz
  sha256: 5afbbb48e1274003feac352dbfca95c117f6374ee4ca1d3c6652e5887c7810d3
  timestamp: 2022-01-30 16:22:16+00:00
- url: https://github.com/rancher/cli/releases/download/v2.6.4/rancher-linux-amd64-v2.6.4.tar.gz
  sha256: 341d5cde2067e2f360850f25d126b637ef00770223957a72fff848fc31e04bfc
  timestamp: 2022-03-24 22:19:29+00:00
- url: https://github.com/rancher/cli/releases/download/v2.6.4/rancher-linux-arm-v2.6.4.tar.gz
  sha256: 29471a7068d55b15ec5b3b4d0962f4f1b83079f5b9149ac5b70dd1d4399cad22
  timestamp: 2022-03-24 22:19:29+00:00
- url: https://github.com/rancher/cli/releases/download/v2.6.5/rancher-linux-amd64-v2.6.5.tar.gz
  sha256: d04106c03e91c4af2c8d169625b7c47ac2e3ce34524d62d30cbc9c0d420304a0
  timestamp: 2022-05-11 04:00:40+00:00
- url: https://github.com/rancher/cli/releases/download/v2.6.5/rancher-linux-arm-v2.6.5.tar.gz
  sha256: 809439523db5f26a750b62e10c142de7e6c43eed429986349ee9887bdca21a58
  timestamp: 2022-05-11 04:00:40+00:00
- url: https://github.com/rancher/cli/releases/download/v2.6.7/rancher-linux-amd64-v2.6.7.tar.gz
  sha256: abd5535077a463a1f005fd8a2490944092cf2c6733095a61028914f31b5a82d7
  timestamp: 2022-08-19 06:09:09+00:00
- url: https://github.com/rancher/cli/releases/download/v2.6.7/rancher-linux-arm-v2.6.7.tar.gz
  sha256: 5c8b7e5e703785b68b04426887d54adf8aaef68d6a6bf716d86a8b07a7d0b4bf
  timestamp: 2022-08-19 06:09:09+00:00
- url: https://github.com/rancher/cli/releases/download/v2.6.9/rancher-linux-amd64-v2.6.9.tar.gz
  sha256: fb6588f772e655479f3e8ddf361ddf9d9e0f50919f5144320aa0f53956370398
  timestamp: 2022-10-14 23:26:01+00:00
- url: https://github.com/rancher/cli/releases/download/v2.6.9/rancher-linux-arm-v2.6.9.tar.gz
  sha256: a8fd5492e26cd4654b042d9fb5af20b98885129ad7a581e2fa9a13097de5cd54
  timestamp: 2022-10-14 23:26:01+00:00
- url: https://github.com/rancher/cli/releases/download/v2.7.0/rancher-linux-amd64-v2.7.0.tar.gz
  sha256: 7b814cc0b38344c5b34341b7ce1ce963a1d05cbd176a0572bd31c499aa99b801
  timestamp: 2022-11-11 03:05:08+00:00
- url: https://github.com/rancher/cli/releases/download/v2.7.0/rancher-linux-arm-v2.7.0.tar.gz
  sha256: 18bf0e5d0ab3da8aef8278ea6a80c67abe8fe977c8cfe5c6fadf0bdab9f963ad
  timestamp: 2022-11-11 03:05:08+00:00
- url: https://github.com/rancher/cli/releases/download/v2.7.7/rancher-linux-amd64-v2.7.7.tar.gz
  sha256: f0fe475f8f4556925387ef6fe6026c3936b869ec0e7e26a47dd06a644ae5fd24
  timestamp: 2023-09-19 09:16:45+00:00
- url: https://github.com/rancher/cli/releases/download/v2.7.7/rancher-linux-arm-v2.7.7.tar.gz
  sha256: 6e3a2d46bad6cd6eebea08e33715589f12141292ae78479bab449c7e6550521b
  timestamp: 2023-09-19 09:16:45+00:00
- url: https://github.com/rancher/cli/releases/download/v2.8.0/rancher-linux-amd64-v2.8.0.tar.gz
  sha256: 7f6415bab6659a4a77a5a2b4a8e088e5cd58a5da46ba427911f65c9b1e61eb62
  timestamp: 2023-10-23 21:14:41+00:00
- url: https://github.com/rancher/cli/releases/download/v2.8.0/rancher-linux-arm-v2.8.0.tar.gz
  sha256: 1c9d2d7bae1920432ee2a82e2d89ebdc88818e02446c57796d90790482e4ecee
  timestamp: 2023-10-23 21:14:41+00:00
- url: https://github.com/rancher/cli/releases/download/v2.8.3/rancher-linux-amd64-v2.8.3.tar.gz
  sha256: 35e99147567b0be272d9626c4a4580cb9c6ec061b0bc4f3f04d1c88daff6a2f7
  timestamp: 2024-03-18 15:06:05+00:00
- url: https://github.com/rancher/cli/releases/download/v2.8.3/rancher-linux-arm-v2.8.3.tar.gz
  sha256: 2e94ceeb81140daba5b654f189c92d9ad0186f3fa5885a583e5f4575edad884f
  timestamp: 2024-03-18 15:06:05+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/rancher.svg)](https://docs.wakemeops.com/packages/rancher)
<a href="https://docs.wakemeops.com/packages/rancher">
  <img src="https://docs.wakemeops.com/badges/rancher.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/rancher.svg
:target: https://docs.wakemeops.com/packages/rancher