Mounting an Android Image
Mounting the Original Kbox Image
Upload the Kbox Android image package to the ~/dependency directory (this directory is only an example and can be customized) and mount the image package.
You can customize the image name and tag in the format of {Name}:{Tag}. In this example, the image name is kbox:origin.
The image name and tag can contain only digits and letters. The image name must start with a digit or lowercase letter.
1 2 | cd ~/dependency docker import android.tar kbox:origin |
Creating a New Kbox Image
After the original image is mounted, you need to create a new Kbox image to integrate it into the NETINT codec library.
- Decompress Kbox-AOSP11.zip and upload the Kbox-AOSP11/make_img_sample directory to the ~/dependency directory on the server.
- Download NETINT.tar.gz by referring to Software Environment.
- Save NETINT.tar.gz to the ~/dependency/make_img_sample/decode_iso_build directory and grant the execute permission on the image creation script in the directory.
1 2
cd ~/dependency/make_img_sample/decode_iso_build chmod +x Dockerfile make_image.sh
- Create an image.Create a kbox:latest image based on the kbox:origin image. The two image names can be customized.
1./make_image.sh kbox:origin kbox:latest
The parameters entered during instance startup must be the same as the name and tag you specify when creating an image. In the following, the image name kbox:latest is used as an example.
Parent topic: Starting and Uninstalling a Cloud Phone