crane
crane copied to clipboard
Nil pointer error when running `crane lift -c deploy/docker-compose.yml`
Steps to reproduce
- File at
./deploy/docker-compose.yml
:
version: "3.8"
services:
timescale:
image: "timescale/timescaledb:1.7.4-pg12"
- Run
crane lift -c deploy/docker-compose.yml
in./
The error message is:
crane lift --config=./deploy/docker-compose.yml
ERROR: runtime error: invalid memory address or nil pointer dereference
Is this already known ? I get that there is a strong chance that it's only me not using crane properly, but a solution to this error could be a nicer error message instead of a panic, telling the user what went wrong.
Not known. This project is not actively used anymore by myself so haven't looked into it for a while. Maybe double check indentation and keys? Looks like something like this should work.
I double checked by running the same file with docker-compose -f ./deploy/docker-compose.yml up
, which worked as expected.
Nothing urgent as there's the original docker-compose as a fallback, I just wanted to signal it.