Installing chef-server in a docker container

后端 未结 2 1510
情话喂你
情话喂你 2021-02-04 14:23

I have been trying to install Chef-Server in a Docker container and I am having some trouble. I am running a VM with an up to date version of Ubuntu 12.04 and latest install of

2条回答
  •  迷失自我
    2021-02-04 14:57

    I had this problem. Increasing shared memory made it disappear. Run a container with option: --privileged and before starting chef server, run: sysctl -w kernel.shmmax=1288490189 (for me 1288490189 bytes which is 1.2GB was enough).

    The docker image suggested in Mark O'Connor answer did not work for me (Unable to start database connection), I tried also cbuisson/chef-server (was reconfiguring endlessly) and finally I came up with my own: xmik/chef-server-docker (used Ubuntu 14.04).

提交回复
热议问题