Saturday, December 21, 2024

Docker commands

 Was trying to create a docker for android. Here are the commands I used:

* sudo apt-get install qemu-kvm

* curl -fsSL https://get.docker.com -o get-docker.sh

* sh ./get-docker.sh

*docker run -d -p 6080:6080 -e EMULATOR_DEVICE="Samsung Galaxy S10" -e WEB_VNC=true --device /dev/kvm budtmo/docker-android:emulator_13.0

* sudo chmod 666 /var/run/docker.sock 

(if permission denied in previous step)

* docker ps

* docker stop <NAME>

No comments:

Post a Comment