Docker Usage
Load Image and Create Container
When users flash the LE system, a Docker container named "aidlux" is loaded and created by default. If you need to delete the original image and container and recreate them, follow the steps below.
- Log into the host system via ADB
shell
adb root
adb shell- Stop and delete the original container
shell
docker ps // Query the original container name, default is aidlux
docker stop aidlux && docker rm aidlux- Delete the original image
shell
docker images // Query the original image ID
docker rmi imageID // imageID is the result from the previous command- Reload the image
shell
docker load < /overlay/aidlux/aidlux_lu_ubun2204.106.tar.gz // Modify the image name according to the actual file- After the image finishes loading, create a new container
shell
docker images // Get the imageID
docker run -d --aidfunc --net host --dns 223.6.6.6 --restart always --name aidlux imageID