cancel
Showing results for 
Search instead for 
Did you mean: 

Error when issuing the docker run command

Former Member
4,993

I've been trying to set up the SAP HANA Express container on both CentOS 7.5 & Fedora 28 and in the end constantly keep on bumping into the following docker error:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:424: container init caused "write sysctl key kernel.shmmni: write /proc/sys/kernel/shmmni: invalid argument"": unknown.
ERRO[0011] error waiting for container: context canceled

I have ran it on EC2 instances for both CentOS & Fedora and on the same type of instances on VM on my QNAP NAS.

Followed the tutorial over here: https://developers.sap.com/tutorials/hxe-ua-install-using-docker-xsa.html

It seems to be a docker related issue but I have no clue on how to get around this.

Thanks in advance.

View Entire Topic
kubiani
Explorer
I was able to get the container to start by changing the shmmni value to that of the host, so in my case this happened to be 4096. Seems to work for running on my laptop for testing.
--sysctl kernel.shmmni=4096

I got this value from the file "/proc/sys/kernel/shmmni" referenced in the error.

fpadt
Explorer
0 Kudos

thanks Nicolas, works for me

0 Kudos

Thx a lot !
Works for me as well !

josephmuiruri
Participant
0 Kudos

Thanks works now

zerocopia
Member
0 Kudos

Funcionou!