Updated on 2022-03-13 GMT+08:00

Importing the Base Image

Prerequisites

Ensure that the Docker program has been installed in the packaging environment.

The dockerfile command is a built-in command of Docker. Therefore, Docker 18.09 that matches the Atlas 500 is recommended.

Procedure

  1. In the development environment, go to the directory where A500-3000_A500-3010-EulerOSx.x.x.xxx_64bit_aarch64_basic.tar.gz is located.

    In A500-3000_A500-3010-EulerOSx.x.x.xxx_64bit_aarch64_basic.tar.gz, x.x.x.xxx indicates the version number.

  2. Run the following commands to decompress the A500-3000_A500-3010-EulerOSx.x.x.xxx_64bit_aarch64_basic.tar.gz package and obtain the Atlas500_EulerOSx.x.x.xxx_64bit_aarch64_basic.tar.gz package:

    tar -mxvf A500-3000_A500-3010-EulerOSx.x.x.xxx_64bit_aarch64_basic.tar.gz

  3. Run the following command to import the EulerOS base image:

    docker load -i Atlas500_EulerOSx.x.x.xxx_64bit_aarch64_basic.tar.gz

  4. Run the following command to view the imported images:

    docker images

  5. Run the following command to rename the base image as euler:

    docker tag atlas500_eulerosx.x.x.xxx_64bit_aarch64_basic euler

    atlas500_eulerosx.x.x.xxx_64bit_aarch64_basic indicates the image name obtained in 4.