Gitiles
Code Review
Sign In
gerrit.opencord.org
/
platform-install
/
befbf201695d9a6f7cbf3481d17bbe631b16b92c
/
.
/
roles
/
head-diag
/
files
/
docker_logs.sh
blob: ba22d6a9a9438b94a69e621391a70284e9f1b8f4 [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
mkdir
-
p
~/
docker_logs
rm
-
rf
~/
docker_logs
/*
for
container
in
`docker ps --format "{{.Names}}"`
;
do
docker logs $container
>
~/
docker_logs
/
$container
.
log
2
>&
1
;
done