Capture logs for specific container_id

This commit is contained in:
Ali Ismayilov
2024-10-26 14:40:35 +02:00
parent 183fe9e06e
commit 75b44cd328
6 changed files with 16 additions and 10 deletions

View File

@@ -275,7 +275,7 @@ class CliAppTest < CliTestCase
test "exec detach" do
run_command("exec", "--detach", "ruby -v").tap do |output|
assert_match "docker run --detach --rm --network kamal --env-file .kamal/apps/app/env/roles/web.env --log-opt max-size=\"10m\" dhh/app:latest ruby -v", output
assert_match "docker run --detach --network kamal --env-file .kamal/apps/app/env/roles/web.env --log-opt max-size=\"10m\" dhh/app:latest ruby -v", output
end
end