What is the problem of using Docker image to configure ElasticSearch under Ubuntu?

configuration using Docker image under Ubuntu ElasticSearch, cannot be started

Environment:
Ubuntu Server 16.04.1 LTS 32-bit
java version "1.8.0mm 172"

docker pull elasticsearch:5.3.1

command to get elasticsearch image,

docker run -e ES_JAVA_OPTS="-Xms256m -Xmx265m" -d -p 9200:9200 -p 9300:9300 --name ES_5.3.1_01 elasticsearch:5.3.1

command to run the container, start the log:

standard_init_linux.go:178: exec user process caused "exec format error"

I wonder if 32-bit Ubuntu systems are not supported



-p 9200:9200 -p 9300:9300

enter docker shell, to check the execution file type, such as file $(which elasticsearch:5.3.1) , which tells whether the file is 32-bit or 64-bit.

then run the execution file manually in shell to see the error message.

Menu