fix Error: watch /root/.aws/credentials ENOENT in Docker container #54
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These errors come out when i use default docker images.
ubuntu@ip-10-0-2-43:~/kibana/config$ docker run -it santthosh/aws-es-kibana search-ezmcloud-es-dev-cpb37dt4f5rzdlzy.us-east-2.es.amazonaws.com
___ |_ | / /_ / ___ / / ___ __ _______ ______ ____ /
__ /| |_ | /| / /_____ \ __ / _____ \ __ // / / __ _ |// / / / /
_ ___ |_ |/ |/ / / / _ / / / _ / / / // /> < _ // / //
// ||/|/ /____/ /___/ // // // _///|| _, / ()
/___/
AWS ES cluster available at http://127.0.0.1:9200
Kibana available at http://127.0.0.1:9200/_plugin/kibana/
fs.js:1384
throw error;
^
Error: watch /root/.aws/credentials ENOENT
at _errnoException (util.js:992:11)
at FSWatcher.start (fs.js:1382:19)
at Object.fs.watch (fs.js:1408:11)
at Object. (/app/index.js:211:4)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
So i had modified DOCKER file to avoid these errors. The docker image will be much more convenient after merging this PR, Please review and update default docker image.