Skip to content

Commit 0118122

Browse files
authored
docker-compose remove orphans for misconfigurations
1 parent 8ad6bc2 commit 0118122

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker_basics_command.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ docker-compose down
3636
//stop all container detach volume
3737
docker-compose down -v
3838

39+
//stop all containers with misconfiguration
40+
docker-compose down --remove-orphans
41+
3942
//ssh to docker container from direct image like mysql
4043
docker exec -it db40fd416dd5 bash
4144

0 commit comments

Comments
 (0)