Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

chefdk

A container to use ChefDK tools easily in a dev environment

Usage

Pull the image, or build it yourself:

docker pull anowell/chefdk

# OR

docker build -t chefdk .

Create and use aliases to docker run as if they were ChefDK tools:

for CMD in chef knife berks kitchen rubocop foodcritic; do
  alias $CMD="docker run --rm -t -i -e OPSCODE_USER=\$USER -v \$(pwd):/data chefdk $CMD";
done

# now use these tools similar to how you would if locally installed
knife status
berks version
chef generate cookbook NAME
Docker Pull Command
Owner
anowell
Source Repository