mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
diagnose: put all the files inside a moby/ subdirectory
Signed-off-by: David Scott <dave@recoil.org>
This commit is contained in:
parent
d24dd9d59b
commit
f9eca40371
@ -4,9 +4,12 @@
|
||||
|
||||
TEMP=$(mktemp -d diagnoseXXXXXXX)
|
||||
trap 'rm -rf "$TEMP"' EXIT
|
||||
cd $TEMP
|
||||
mkdir $TEMP/moby
|
||||
cd $TEMP/moby
|
||||
|
||||
# gather diagnostic data
|
||||
date > "date"
|
||||
uname -a > "uname -a"
|
||||
ps uax > "ps -aux"
|
||||
netstat -an > "netstat -an"
|
||||
iptables -L > "iptables -L"
|
||||
@ -27,4 +30,5 @@ dig docker.com > "dig docker.com"
|
||||
wget -O - http://www.docker.com/ &> "wget docker.com"
|
||||
|
||||
# send everything to the client
|
||||
cd ..
|
||||
tar -c .
|
||||
|
Loading…
Reference in New Issue
Block a user