Method: Containers::CLI#tail
- Defined in:
- lib/containers/commands/tail.rb
#tail(*args) ⇒ Object
8 9 10 11 |
# File 'lib/containers/commands/tail.rb', line 8 def tail(*args) args << "--since 5m" unless args.include?("--since") execute_command "docker compose #{docker_compose_files.map { |f| "-f #{f}" }.join " "} logs #{args.join " "} -f #{requested_service_names.join " "}" end |