Offline Resources
- Offline image files must be downloaded, uploaded to the target deployment server, and imported before use.
- See the examples below for the import steps.
- Linux amd64
- Linux arm64
| Name | Download Link |
|---|---|
| ops-allinone Ops Platform | https://pdpublic.mingdao.com/private-deployment/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:-
Calculate the MD5 value of the image package locally for later integrity verification.
md5sum ops-allinone-linux-amd64-1.5.1.tar.gz -
Split the image package locally with the
splitcommand. 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 asB,K, andMare supported.-d: Uses numeric suffixes.-a: Specifies the suffix length. The example uses 3 digits.
-
Upload all parts to the same directory on the server.
-
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 -
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:
- Docker
- Kubernetes
-
Import the image
docker load -i xxx.tar.gz -
View images
docker images
-
Extract the image file
gunzip -d xxx.tar.gz -
Import the image
ctr -n k8s.io image import xxx.tar -
View images
crictl images