factorial-io / phabalicious

Supports your deployments and every-day devops-tasks
http://docs.phab.io
MIT License
18 stars 3 forks source link

Message about --remove-orphans is wrong #216

Closed joachim-n closed 2 years ago

joachim-n commented 2 years ago
$ phab -cmbb docker -- run
Found orphan containers (occhio-cms-be_mysqlold_1, occhio-cms-be_web_1, occhio-cms-be_elasticsearch_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.

so I did:

$ phab -cmbb docker -- run --remove-orphans

SNIP

In DockerCommand.php line 85:

  Missing task `--remove-orphans`
stmh commented 2 years ago

the message is not from phabalicious, but from docker-compose which gets called by phab. You can run the docker-compose command directly via

phab -cmbb docker-compose -- up -d --remove-orphans