Installing chef-server in a docker container

后端 未结 2 1515
情话喂你
情话喂你 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:40

    There is an image available in the docker registry.

    docker pull  base/chef-server
    docker run -d -p 443:443 base/chef-server
    

    The Dockerfile is available here:

    • https://github.com/tmc/dockerfiles/tree/master/chef-server
    0 讨论(0)
  • 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).

    0 讨论(0)
提交回复
热议问题