Skip to content

xmik/chef-server-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Used Chef Server 11.1.6-1_amd64 on an Ubuntu Trusty 14.04 LTS.

This is a fork of: c-buisson/chef-server but I took run_chef_server.sh from tmc/dockerfiles available on docker registry base/chef-server.

I forked it in order to avoid Chef Server being reconfigured on container each restart. For me it kept reconfiguring endlessly and was temporarily unavailable through web browser.

Usage

Use the --privileged option or else the shared memory max cannot be set and some of Chef Server components may not start (rabbitmq server and/or postgresql).

$ docker run --privileged -dti --name chef_server -p 443:443 xmik/chef-server-docker:0.0.2

To confirm that you have connected to Chef Server, list users specifying path to knife.rb:

user@host:~$ knife user list -c knife.rb

To export or restore Chef Server backup see mdxp/knife-backup.

Build

Build an image using the tag from script/image_metadata.txt. Use rake task:

rake chef_server:build

Size of xmik/chef-server-docker:0.0.2 is 1.003 GB.

About

Chef-server container for Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 70.7%
  • Ruby 29.3%