Sign inSign up

anthonyneto/chef-client

By anthonyneto

Updated over 2 years ago

Run chef-client in debian container.

Image
0

100K+

anthonyneto/chef-client repository overview

docker-chef-client

Contains a dockerfile to manage flatcar linux with chef via container.

manual example

Usually this is created by ignition as a systemd-unit that runs on a timer.

docker run --name chef-client \
  --rm \
  --net=host \
  --cap-add net_admin \
  --cap-add sys_admin \
  -v chef:/var/chef \
  -v /opt/chef:/etc/chef \
  -v /opt/bin:/opt/bin \
  -v /data:/data \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /run/systemd/system:/run/systemd/system \
  -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket \
  -v /etc/systemd:/etc/systemd \
  anthonyneto/chef-client \
  -r 'role[neto-server]' \
  --force-formatter

Tag summary

Content type

Image

Digest

sha256:95b4dbd98

Size

139.3 MB

Last updated

over 2 years ago

docker pull anthonyneto/chef-client