Rate This Document
Findability
Accuracy
Completeness
Readability

Changing the Docker Container Port Number

This section describes how to change the port number of a Docker container based on the Docker container startup script, for example, the cfct script that contains the port and adb_port variables.

# port=${port:-$(($containerid+8000))}
# adb_port=${adb_port:-$(($containerid +8500))}

The port variable indicates the ID of the Docker container connected to the instruction stream cloud phone, and the adb_port variable indicates the ID of the container connected through ADB.