我要评分
获取效率
正确性
完整性
易理解

Logcat Logs

If an exception occurs during container running, you can query logs to locate the fault. To query the logcat logs of the Kbox cloud phone container in real time, run the following command. ${index} indicates the ID of the started instance.

1
docker exec -it kbox_${index} logcat

To save the logcat logs of the container, run the following command to save the logs to the log.log file in the current directory. The log storage path and log file name can be changed as required.

1
docker exec -it kbox_${index} logcat -d >> ./log.log