Rate This Document
Findability
Accuracy
Completeness
Readability

Creating a Video Stream Cloud Phone Image

Verifying Software Package Integrity

  1. Upload CloudPhoneApk.tar.gz, DemoVideoEngine.tar.gz, and NETINT.tar.gz to the /home/kbox_video directory on the server.
  2. Obtain the SHA256 verification codes of the following components.
    # sha256sum DemoVideoEngine.tar.gz
    # sha256sum CloudPhoneApk.tar.gz
  3. Compare the obtained verification codes with DemoVideoEngine_sha256.txt and CloudPhoneApk_sha256.txt.

    If the codes are consistent, the obtained software packages are complete and you can proceed with the following operations. If not, stop the deployment and obtain the complete software packages.

Creating an Image

  1. Decompress the DemoVideoEngine.tar.gz package to obtain the image creation script and grant the execute permission on the script.
    #tar -xvf DemoVideoEngine.tar.gz Dockerfile make_image.sh
    #chmod +x Dockerfile make_image.sh
  2. Create a video stream cloud phone image. You can use the default image name or specify an image name.
    • If the default image name is used, run the following command. The default image names of the Kbox basic cloud phone and video stream cloud phone are kbox:latest and video:latest, respectively.
      #./make_image.sh
    • If a customized image name is used, run the following command. Specify the image names of the Kbox basic cloud phone and video stream cloud phone in the format of {image_name}:{tag}. In the following command, kbox and video are image names, and latest is the tag.
      #./make_image.sh kbox:latest video:latest

      The image name can contain only digits and lowercase letters, and must start with a lowercase letter. The tag can contain only digits and letters. If the image name of the video stream cloud phone is changed, change the image name in the cfct_config file obtained in Creating a Base Data Volume to the customized image name.

  3. Check whether the video stream cloud phone image (video:latest) is successfully created.
    #docker images

    If the following information is displayed, the image is successfully created.