Skip to content

Support Relative Bind Mounts #4

@adrum

Description

@adrum

It would be nice if this plugin supported the ability to specify relative bind mounts:

services:
  app:
    image: node:latest
    ports:
      - 3000:3000
    volumes:
      - ./app:/app

Current output:

Info: No 'name' field found in docker-compose.yml. Using directory name as project name: test
Stopping container: test-app

--- Processing Services ---
["app"]
Pulling Image node:latest...
Info: Created missing host directory for volume: /Users/adrum/Developer/test/app/./app 
Note: Service 'app' is not explicitly connected to any networks. It will likely use the default bridge network.

Starting service: app
Starting app
----------------------------------------

app: Error: invalidArgument: "Invalid volume name './app': must match ^[A-Za-z0-9][A-Za-z0-9_.-]*$"

Error Domain=ContainerWait Code=1 "Timed out waiting for container 'test-app' to be running." UserInfo={NSLocalizedDescription=Timed out waiting for container 'test-app' to be running.}

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