Giter Site home page Giter Site logo

adb's Introduction

adb Dockerfile for Linux(amd64 and armv7l)

Usage

  • The container needs extended privileges for USB access
  • The host's /dev/bus/usb must be mounted on the container

This usage pattern shares the ADB server container's network with ADB client containers.

Start the server:

docker run -d --privileged -v /dev/bus/usb:/dev/bus/usb --name adbd codeskyblue/adb

Then on the same machine:

docker run --rm -ti --net container:adbd codeskyblue/adb devices

More usage reference https://github.com/sorccu/docker-adb

Build

On linux amd64

docker build -t adb .
docker tag adb codeskyblue/adb:latest
docker push codeskyblue/adb:latest

On linux armv7l(raspberry)

docker build -t adb -f Dockerfile.armv7l .
docker tag adb codeskyblue/adb:armv7l-latest
docker push codeskyblue/adb:armv7l-latest

Push manifest

TAG=codeskyblue/adb:latest
docker manifest create $TAG codeskyblue/adb:latest codeskyblue/adb:armv7l-latest
docker manifest annotate $TAG codeskyblue/adb:latest --os linux --arch amd64
docker manifest annotate $TAG codeskyblue/adb:armv7l-latest --os linux --arch arm --variant v7
docker manifest push $TAG
# check
docker run --rm mplatform/mquery $TAG

Thanks

LICENSE

Apache v2

adb's People

Contributors

codeskyblue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.