sudo docker run --name yourapp -it --rm -e DISPLAY=$DISPLAY -h flutter -v /tmp/.X11-unix:/tmp/.X11-unix -v yourapp:/home/developer -v /etc/localtime:/etc/localtime:ro -v /usr/share/icons:/usr/share/icons:ro -v /usr/share/fonts:/usr/share/fonts:ro -v /dev/kvm:/dev/kvm --privileged lastjedi/flutter /bin/bash
sudo docker exec -it --user root yourapp bash and enter chown {Username} /dev/kvm then exit.avdmanager create avd --force -n nexus -k "system-images;android-28;google_apis;x86" --abi "google_apis/x86"cd $ANDROID_HOME/emulator./emulator -verbose @nexus -noaudio -accel on -use-system-libssudo docker exec -it yourapp bashflutter create yourappcd yourappflutter runsudo docker exec -it yourapp bashcodelib/main.dartYou have pushed the button this many times: to You have clicked the button this many times and save file.as root
sudo docker exec -it --user root yourapp bash
flutter upgrade
Content type
Image
Digest
Size
2.8 GB
Last updated
about 7 years ago
docker pull lastjedi/flutter:1.1