docker-library / cassandra

Docker Official Image packaging for Cassandra
Apache License 2.0
263 stars 281 forks source link

fix(allVersion): Modify stack size for platforms on which dpkg shows … #191

Closed maaaace closed 10 months ago

maaaace commented 5 years ago

…architecture as arm64

The official images for arm64 cannot run on Huawei ARMv8 Kunpeng920 CPU. The log indicates "The stack size specified is too small, Specify at least 328k". After checking, the command "dpkg --print-architecture" shows architecture as "arm64". I'v build an image under directory "2.1" which could start cassandra correctly.

Signed-off-by: maaaace fuheming@huawei.com

maaaace commented 5 years ago

Hi, I tested offcial images including version 2.1, 3.0, 3.11 and 3.11.4. All of them did not started correctly on my server. Here are some error messages and server config. Error messages: version 2.1 image

version 3.0 image

version 3.11 image

Output of "dpkg --print-architecture" image

Server config: OS image

docker version image

After modify the Dockerfile, I built an image under version 2.1 and the problem is solved.

maaaace commented 5 years ago

Related to #192

yosifkit commented 5 years ago

https://github.com/docker-library/cassandra/issues/192#issuecomment-540812450

Also, I'd highly recommend updating your Docker version. 1.13.1 was released on 2017-02-08 and is very much unsupported for bug fixes and security updates (though most Docker images should run fine as far as I've seen since there haven't been radical changes to the format).

tianon commented 10 months ago

https://github.com/docker-library/cassandra/issues/192#issuecomment-1865218325