Skip to content

Appium-docker-android with Dockremap #175

@azerty-sudo

Description

@azerty-sudo

Hello,

I'm currently using an Appium container, but for security reasons I had to set up Dockremap on the host machine. This security configuration no longer allows the use of --privileged. To get around this problem, I installed ADB on the host machine and added the following parameters to the container:

  • ANDROID_ADB_SERVER_ADDRESS
  • ANDROID_ADB_SERVER_PORT
  • REMOTE_ADB

This allows me to properly detect my devices in the container. However, in tests, I always encounter the same problem in the appium container logs :

/adb -P 5037 -s device forward tcp:8200 tcp:6790' exited with code 1'; Command output: adb: error: more than one device/emulator

Do you have a solution to this problem, or have you already implemented Dockremap with an Appium container?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions