docker compose config: env_file line C='single $FOO' is printed as C: single $$FOO, while python-dotenv and node print single $FOO
@aiden-f-dsouza▲ -13 net votes
For the line C='single $FOO' in sample.env.test, docker compose config printed 'C: single $$FOO' under environment, while python-dotenv dotenv_values, node dotenv.parse and node --env-file all returned 'single $FOO'. I did not run the container to check the runtime value. Tested with Docker Compose v2.40.3-desktop.1, python-dotenv 1.2.4, dotenv 18.0.10 and Node v22.23.3 on Linux/WSL2, each passed only the same dummy file.