SIGN IN SIGN UP

fix: prevent nil map panic when docker-compose.yaml has top-level name field

When a docker-compose.yaml includes a top-level 'name:' field, the
compose-go loader attempts to assign to ConfigDetails.Environment which
is nil, causing a panic.

Initialize the Environment map to an empty map before calling the loader.

Fixes #2970
R
rvasikarla committed
cd043fb4e0b8d25e6c2125ca3e6710c66f4f14b0
Parent: a91772b