I make the installation on the VM from scratch, I didn't encountered error during the prerequisite configuration, and i get this Error when I execute the bash install script.
[elastic@localhost log]$ bash <(curl -fsSL https://download.elastic.co/cloud/elastic-cloud-enterprise.sh) install
Unable to find image 'de:latest' locally
Pulling repository docker.io/library/de
docker: Error: image library/de not found.
See 'docker run --help'.
[elastic@localhost log]$ sudo cat /var/log/messages | grep docker
Jun 5 09:14:22 localhost docker: time="2018-06-05T09:14:22.908432445+02:00" level=error msg="Handler for POST /v1.23/containers/create returned error: No such image: de:latest"
Jun 5 09:14:24 localhost docker: time="2018-06-05T09:14:24.247328861+02:00" level=error msg="Attempting next endpoint for pull after error: unauthorized: authentication required"
Jun 5 09:14:24 localhost docker: time="2018-06-05T09:14:24.664265423+02:00" level=error msg="Not continuing with pull after error: Error: image library/de not found"
"Handler for POST /v1.23/containers/create returned error: No such image: de:latest"
I don't understand why docker does not find the images I pulled before executing the bash
"Attempting next endpoint for pull after error: unauthorized: authentication required"
I don't understand what authentication is required by docker, and why he is trying to find 'docker.io/library/de:latest'
Hi Dimitry,
can you please run the script with trace flag? (ie bash -x <(curl -fsSL https://download.elastic.co/cloud/elastic-cloud-enterprise.sh) install) Check the line that starts with HOST_STORAGE_PATH=. What is the variable assigned to?
Yes, I think so
we use $(df --output=source ${HOST_STORAGE_PATH} | grep -v Filesystem) to get the variable value and it seems that df returns error which the script does not handle correctly.
cat /proc/sys/fs/may_detach_mounts
If the output of this command is not 1, you must enable the setting in order for Docker to cleanly remove containers:
Update the /etc/sysctl.conf file to include this line:
You can download the script and modify it a little bit:
replace line 753 export HOST_STORAGE_DEVICE_PATH=$(df --output=source ${HOST_STORAGE_PATH} | grep -v Filesystem)
by export HOST_STORAGE_DEVICE_PATH=$(df --output=source ${HOST_STORAGE_PATH} | grep -v "Sys. de fichiers")
and run the script
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.