mhassan2 / splunk-n-box

Docker Splunk "Orchestration" bash script (6,000+ lines) to create fully automated pre-configured splunk site-2-site clusters or stand alone containers. Awesome tool for training and testing!
https://github.com/mhassan2/splunk-n-box
138 stars 32 forks source link

Cannot list containers #11

Open randomhammer opened 6 years ago

randomhammer commented 6 years ago

I have successfully installed the app and created an index cluster, but I cannot get a list of containers. I get the following when I try to list images (menu option L from "Manage Containers" menu:

./splunknbox.sh: line 5401: /containers_list.tmp: Permission denied
./splunknbox.sh: line 5370: /containers_list.tmp: No such file or directory
count: 0
Hit <ENTER> to continue...
brightanvil commented 6 years ago

Error on the line 158:

CONT_LIST_FILE="$TMPDIR/containers_list.tmp"

It should be:

CONT_LIST_FILE="$TMP_DIR/containers_list.tmp"

mhassan2 commented 6 years ago

Thanks. This issue is fixed in next release (not published yet)


Mohamad Hassan, SE 678-570-1181

WebEx: https://splunk.webex.com/join/mhassan US Toll free +1-855-797-9485,,,597103907#

Cool projects: https://github.com/mhassan2/splunk-n-box https://github.com/mhassan2/datafabric_splunk/wiki

From: Fabian notifications@github.com Reply-To: mhassan2/splunk-n-box reply@reply.github.com Date: Friday, July 27, 2018 at 8:34 PM To: mhassan2/splunk-n-box splunk-n-box@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [mhassan2/splunk-n-box] Cannot list containers (#11)

Error on the line 158:

CONT_LIST_FILE="$TMPDIR/containers_list.tmp"

It should be:

CONT_LIST_FILE="$TMP_DIR/containers_list.tmp"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/mhassan2/splunk-n-box/issues/11#issuecomment-408573578, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AP48eOLuBjxR9iMfbopIWN3uoArlK1Rfks5uK7-mgaJpZM4Uh3Ur.