blob: ba22d6a9a9438b94a69e621391a70284e9f1b8f4 [file] [log] [blame]
Zack Williams4e5d1d22016-06-13 11:10:03 -07001#!/usr/bin/env bash
2
3mkdir -p ~/docker_logs
4rm -rf ~/docker_logs/*
5
6for container in `docker ps --format "{{.Names}}"`;
7do
8 docker logs $container > ~/docker_logs/$container.log 2>&1;
9done