Hi guys, a quick question!
With docker-compose, which parameter should I use to run a YAML file?
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
Instead of using docker run you could ...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
Already have an account? Sign in.