Docker container with your own flutter application.
6.8K
This image was created to run an application written in flutter/dark as container service.
The image is more suitable for development purposes.
It was built on ubuntu 20.04. Image also includes a simple web server and listens on port 8080.
How to use: docker pull docker_flutter_app/docker_flutter_app:potato
1.0) If you just want to run simple application in flutter included in image just type in command line:
docker run --name flutter_app -d -p 8080:5000 docker_flutter_app:potato
2.0) application with your builded website in flutter. In this way you can run application in container and all changes in your flutter code will be visible on web browser immediately. 2.1) go to directory with your application. cd your_app 2.2) run docker container on windows docker run --name flutter_app -v "$(pwd)\web:/app/web:rw" -d -p 8080:5000 flutter_docker:potato If you are using visual studio code to create you app, content of website generated by flutter should be stored in directory web. your_app -> web
Check your application on local web browser f.e Chrome http://localhost:8080/
2.3) run docker container on linux cd your_app docker run --name flutter_app -v "$(pwd)/web:/app/web:rw" -d -p 8080:5000 flutter_docker:potato
Check your application on local web browser f.e Chrome http://localhost:8080/
Content type
Image
Digest
sha256:fa39fbf8f…
Size
1.1 GB
Last updated
almost 4 years ago
docker pull byczynm1/docker_flutter_app:potato