Gitiles
Code Review
Sign In
gerrit.opencord.org
/
platform-install
/
d1fed7f75f8f7f843b53e7d7eaa76d51ac7e4832
/
.
/
roles
/
head-diag
/
files
/
docker_logs.sh
blob: 0a76bca293d21863405d1af084777d42b66f2ed6 [
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
cp
~/
service
-
profile
/
cord
-
pod
/*.
out
~/
docker_logs