Hello, is it possible to run docker-compose up -d? When executing doppler run – docker-compose up -d I’m getting an error “Error: unknown shorthand flag: ‘d’ in -d”
Thank you!
Hello, is it possible to run docker-compose up -d? When executing doppler run – docker-compose up -d I’m getting an error “Error: unknown shorthand flag: ‘d’ in -d”
Thank you!
Hi @RayBishopTN!
Yep, this should definitely be possible! I just gave it a shot and it worked fine:
~/dev/compose
❯ doppler run -p docker-compose -c dev -- docker-compose up -d
[+] Running 3/3
⠿ Network compose_default Created 0.3s
⠿ Container compose-doppler-test2-1 Started 2.5s
⠿ Container compose-doppler-test1-1 Started 2.5s
~/dev/compose took 4s
❯ doppler -v
v3.56.0
~/dev/compose
❯ docker-compose -v
Docker Compose version v2.15.1
Could you let me know the following information?
doppler -v
)docker-compose -v
)SHELL
environment variable – then just execute the shell binary with --version
)Regards,
-Joel
Hello @watsonian; thank you for your response, and I appreciate your help. Adding – before docker-compose up -d did the trick.