Difference in .env file environment variables injected via docker run vs docker compose #1446
-
DescriptionLooks like Steps to reproduce the issue
services:
busybox:
image: busybox
env_file:
- .env
command: ['sh', '-c', 'set']
Describe the results you received and expectedOutput from both should be the same Shouldn't it think $test in the second string is a variable? What version of nerdctl are you using?nerdctl version 0.22.2 Are you using a variant of nerdctl? (e.g., Rancher Desktop)Rancher Desktop for macOS Host informationnerdctl info Server: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think it's not a bug? I guess. The nerdctl has the same behavior as Docker( |
Beta Was this translation helpful? Give feedback.
I think it's not a bug? I guess.
The nerdctl has the same behavior as Docker(
docker run
anddocker-compose up
have different env file inject behavior