90598/with-docker-compose-which-parameter-should-use-run-yaml-file
Hi guys, a quick question!
With docker-compose, which parameter should I use to run a YAML file?
I’m using
docker-compose -f service.yml —up
But if I use -d it won’t go on detached mode. Or am I using a wrong command??
Yep. Wrong command.
$ docker-compose build
And then run this command
$ docker-compose up
You don't need to use the YAML file name in the command.
You just need to execute this command from the directory where the YAML file is present
You can use JSON instead of YAML ...READ MORE
This happens when the Jenkins user is ...READ MORE
You can even install it using a ...READ MORE
Here is a concept which you can ...READ MORE
Here is a way which you can ...READ MORE
When you use docker-compose down, all the ...READ MORE
It can work if you try to put ...READ MORE
To solve this problem, I followed advice ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Docker plays a crucial role in DevOps, ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.