Commit cd91586
committed
Fix container conflict errors - Force remove existing containers
- Force remove existing containers (ml_churn_api, mlflow_server) before deployment
- Use docker-compose down --remove-orphans to clean up properly
- Add cleanup step in Test Docker container to remove ml-api-test
- Stop and remove any containers using port 8000 before testing
- Prevents 'container name already in use' and 'port already allocated' errors1 parent e315ed2 commit cd91586
1 file changed
Lines changed: 26 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
445 | 457 | | |
446 | 458 | | |
447 | 459 | | |
| |||
610 | 622 | | |
611 | 623 | | |
612 | 624 | | |
613 | | - | |
614 | | - | |
615 | | - | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
616 | 639 | | |
617 | 640 | | |
618 | 641 | | |
| |||
0 commit comments