Skip to main content

Offline Resources

tip
  • Offline image files must be downloaded, uploaded to the target deployment server, and imported before use.
  • See the examples below for the import steps.
NameDownload Link
ops-allinone
Ops Platform
https://pdpublic.nocoly.com/offline/ops-allinone-linux-amd64-1.5.1.tar.gz
  • To download an older offline image package, usually only the version number in the download link needs to be changed.

  • If the deployment environment limits the size of a single uploaded file and the offline image package cannot be uploaded directly, use the following method to split the package before upload and restore it on the server.

    Reference method: split and restore an offline image package

    The following example uses ops-allinone-linux-amd64-1.5.1.tar.gz:

    1. Calculate the MD5 value of the image package locally for later integrity verification.

      md5sum ops-allinone-linux-amd64-1.5.1.tar.gz
    2. Split the image package locally with the split command. This example uses 800 MB per part and numeric suffixes:

      split -b 800M -d -a 3 ops-allinone-linux-amd64-1.5.1.tar.gz ops-allinone-linux-amd64-1.5.1.tar.gz.
      • -b: Specifies the size of each part. Units such as B, K, and M are supported.
      • -d: Uses numeric suffixes.
      • -a: Specifies the suffix length. The example uses 3 digits.
    3. Upload all parts to the same directory on the server.

    4. Merge the parts on the server to restore the original image package.

      cat ops-allinone-linux-amd64-1.5.1.tar.gz.* > ops-allinone-linux-amd64-1.5.1.tar.gz
    5. Calculate the MD5 value again. After confirming it matches the value before splitting, import the image.

      md5sum ops-allinone-linux-amd64-1.5.1.tar.gz

After downloading and uploading the image package to the target deployment server, import it with the following commands before use:

  1. Import the image

    docker load -i xxx.tar.gz
  2. View images

    docker images