mauricioklein / docker-compose-api

A Docker Compose parser for Ruby
MIT License
33 stars 25 forks source link

Convert relative bind mounts to absolute paths #49

Open onnimonni opened 5 years ago

onnimonni commented 5 years ago

This fixes annoying error:

Docker::Error::ClientError:
  create ./spec/fixtures/keys/ssh-key.pub: "./spec/fixtures/keys/ssh-key.pub" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path