Creating a Video Stream Cloud Phone Image
Verifying Software Package Integrity
- Upload CloudPhoneApk.tar.gz, DemoVideoEngine.tar.gz, BoostKit-videoengine_*.zip, and NETINT.tar.gz to the /home/kbox_video directory on the server.
- Obtain the SHA256 verification codes of the following components.
1 2
sha256sum DemoVideoEngine.tar.gz sha256sum CloudPhoneApk.tar.gz
- 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
- Decompress the DemoVideoEngine.tar.gz package to obtain the image creation script and grant the execute permission on the script.
1 2
tar -xvf DemoVideoEngine.tar.gz Dockerfile_NoVPU Dockerfile_T432 Dockerfile_QuadraT2A make_image.sh chmod +x Dockerfile_NoVPU Dockerfile_T432 Dockerfile_QuadraT2A make_image.sh
- 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.1./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.
1./make_image.sh kbox:origin 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, refer to Creating a Base Data Volume and change the image name in the cfct_config file to the customized image name.
- If the default image name is used, run the following command. The default image names of the
- Check whether the video stream cloud phone image (video:latest) is successfully created.
1docker imagesIf the following information is displayed, the image is successfully created.
1 2
REPOSITORY TAG IMAGE ID CREATED SIZE video latest 40e5f42c17d9 6 seconds ago 2.11GB
Parent topic: Creating Images