Skip to content

[BUG] Mage docker container doesn't start with bind mounts on Windows #454

Open
@arminus

Description

@arminus

Describe the bug

2024-03-20 14:42:22 [2024-03-20 13:42:22.500] [warning] auth_module_create_missing_role flag is deprecated. It not possible to create roles through the module anymore.
2024-03-20 14:42:22 [2024-03-20 13:42:22.504] [warning] auth_module_create_missing_user flag is deprecated. It not possible to create users through the module anymore.
2024-03-20 14:42:22 [2024-03-20 13:42:22.504] [warning] auth_module_manage_roles flag is deprecated. It not possible to create roles through the module anymore.
2024-03-20 14:42:22 [2024-03-20 13:42:22.504] [warning] storage_parallel_index_recovery flag is deprecated. Check storage_mode_parallel_schema_recovery for more details.
2024-03-20 14:42:22 [2024-03-20 13:42:22.504] [warning] auth_module_create_missing_role flag is deprecated. It not possible to create roles through the module anymore.
2024-03-20 14:42:22 [2024-03-20 13:42:22.504] [warning] auth_module_create_missing_user flag is deprecated. It not possible to create users through the module anymore.
2024-03-20 14:42:22 [2024-03-20 13:42:22.504] [warning] auth_module_manage_roles flag is deprecated. It not possible to create roles through the module anymore.
2024-03-20 14:42:22 [2024-03-20 13:42:22.504] [warning] storage_parallel_index_recovery flag is deprecated. Check storage_mode_parallel_schema_recovery for more details.
2024-03-20 14:42:22 You are running Memgraph v2.15.0
2024-03-20 14:42:22 To get started with Memgraph, visit https://memgr.ph/start

then it just exits with status 139 according to docker desktop.

To Reproduce
Steps to reproduce the behavior:

version: "3"
 
services:
  memgraph:
    image: memgraph/memgraph-mage:latest
    container_name: memgraph-mage
    volumes:
      - ./mg_lib:/var/lib/memgraph
      - ./mg_log:/var/log/memgraph
      - ./mg_etc:/etc/memgraph
    ports:
      - "7687:7687"
      - "7444:7444"
    command: ["--log-level=TRACE"]
 
  lab:
    image: memgraph/lab:latest
    container_name: memgraph-lab
    ports:
      - "3000:3000"
    depends_on:
      - memgraph
    environment:
      - QUICK_CONNECT_MG_HOST=memgraph
      - QUICK_CONNECT_MG_PORT=7687

Run this compose on Windows 10 with docker desktop 4.26.1, directories ./mg_lib, ./mg_log and ./mg_etc have been created before running docker compose up

Expected behavior
Mage should start like it does when the compose defines volumes instead of bind mounts.

Screenshots
2024-03-20_144904

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions