File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ echo " ==== DOCKER CONTAINER STATUS ===="
4+ docker ps -a
5+
6+ echo -e " \n==== COUCHDB CONTAINER LOGS ===="
7+ docker logs skuilder-test-couch
8+
9+ echo -e " \n==== NETWORK INTERFACES ===="
10+ ip addr
11+
12+ echo -e " \n==== LISTENING PORTS ===="
13+ netstat -tulpn || ss -tulpn
14+
15+ echo -e " \n==== COUCHDB CONNECTION TEST ===="
16+ curl -v http://localhost:5984 || echo " Curl failed with status $? "
17+
18+ echo -e " \n==== TESTING DOCKER INTERNAL NETWORK ===="
19+ docker exec skuilder-test-couch curl -v http://localhost:5984 || echo " Internal curl failed with status $? "
20+
21+ echo -e " \n==== COUCHDB CONFIGURATION ===="
22+ docker exec skuilder-test-couch cat /opt/couchdb/etc/local.ini || echo " Config check failed"
23+
24+ echo -e " \n==== ENV VARIABLES ===="
25+ printenv | grep -i couch
You can’t perform that action at this time.
0 commit comments