How to upload a Docker image to an intranet server

The article guides users on how to load Docker images in NocoBase for easy instance migration and offline deployment.

Chen Lin |

1. Download the Docker image

Run the following command in your local terminal:

docker pull registry.cn-shanghai.aliyuncs.com/nocobase/nocobase:latest

2. Save the Docker image as a tar file

After the download is complete, run the following command to save the image as a tar file:

docker save -o nocobase-latest.tar registry.cn-shanghai.aliyuncs.com/nocobase/nocobase:latest

3. Upload the tar file to the server

Run the following command in your local terminal to upload nocobase-latest.tar to the server:

scp nocobase-latest.tar user@ip:/home/user/

4. Load the Docker image on the server

Connect to the server via SSH and load the Docker image:

ssh user@ip
docker load -i /home/user/nocobase-latest.tar

After completing these steps, the Docker image will be successfully imported into the internal server.