Skip to content
This repository was archived by the owner on Oct 8, 2023. It is now read-only.
This repository was archived by the owner on Oct 8, 2023. It is now read-only.

Flutter cointainer stops if started from docker-compose #29

@Ch41r05

Description

@Ch41r05

Hi Mat,

As per title, Flutter container stops when doing the following:
In VSCode, Ctrl + Shift + P, Remote-Containers: Clone Repository in Container Volume...
Choose a project to clone that has the following files under .devcontainer

  • devcontainer.json
    { "name": "Flutter", "dockerComposeFile": [ "docker-compose.flutter.yml", "docker-compose.android-container.yml" ], "service": "flutter", "workspaceFolder": "/workspace", "extensions": ["dart-code.dart-code", "dart-code.flutter"] }
  • docker-compose.flutter.yml
    version: '3.3' services: flutter: container_name: flutter image: matspfeiffer/flutter volumes: - ..:/workspace
  • docker-compose.android-container.yml
    version: '3.3' services: docker-android-x86-11.0: privileged: true ports: - '6080:6080' - '5554:5554' - '5555:5555' environment: - 'DEVICE=Nexus 7' container_name: android-container image: budtmo/docker-android-x86-11.0

Just need to wait a couple of minutes without even doing a thing and the Flutter container will stop.
I'm not sure if I'm making some mistakes, could you please enlighten me?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions