A new Flutter project.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Run the following command:
Installing image
docker build -t flutter-dev -f flutter.dockerfile .
docker run --rm --workdir /project -v .:/project flutter-dev help
docker run --rm --workdir /project -v .:/project --device=/dev/bus -v /dev/bus/usb:/dev/bus/usb flutter-dev devices
xhost local:$USER && docker run --rm -ti -p 42000:42000 --workdir /project --device /dev/kvm --device /dev/dri:/dev/dri -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY -v .:/project --entrypoint flutter-android-emulator flutter-dev
docker run --rm -ti -p 42000:42000 -p 8090:8090 --workdir /project -v .:/project --entrypoint flutter-web flutter-dev
Based on image: https://github.com/matsp/docker-flutter