当我尝试使用Docker Compose停止特定配置文件时,它会停止并删除所有容器。我只想删除在引用配置文件中的容器。
在上面的例子中,我只想关闭标记有
docker compose --profile elk down # Let's say I have some services in elk profile
在上面的例子中,我只想关闭标记有
elk
配置文件的服务。