Skip to main content

Offline environment installation

The offline environment only needs to import the image in advance, and other steps are the same as the online installation. First save the installation package in a networked environment:

$ sealos pull docker.io/labring/kubernetes:v1.25.6
$ sealos save -o kubernetes.tar docker.io/labring/kubernetes:v1.25.6

Copy kubernetes.tar to the offline environment, and use the load command to import the image:

$ sealos load -i kubernetes.tar

The rest of the installation method is the same as the online installation.

$ sealos images # Check whether the cluster image is imported successfully
$ sealos run docker.io/labring/kubernetes:v1.25.6 --single # Single machine installation, cluster installation is the same

Or without load command, sealos will auto load image.

sealos run kubernetes.tar --single