DEV Community

Chris🌱Parnin
Chris🌱Parnin

Posted on

5 1

Baker, a simple tool for provisioning virtual machines and containers.

Meet Baker! --- a simple tool for provisioning virtual machines and containers.

Baker allows you to quickly create development environments for developing and running your code. With one tool, you have the functionality of vagrant, docker, ansible, and task runners like grunt.

This example creates a simple development environment for using mkdocs, a static site generator in python.

name: baker-docs
container: 
  ports: 8000
lang:
  - python2
commands:
  build: mkdocs build
  serve: mkdocs serve -a 0.0.0.0:8000
  gh-deploy: mkdocs gh-deploy
Enter fullscreen mode Exit fullscreen mode

Quickly provision a VM with docker.

name: docker-env
vm:
  ip: 192.168.8.8
tools:
  - docker
Enter fullscreen mode Exit fullscreen mode

To use baker, just place a baker.yml file in your current code repository, then run baker bake. You can run baker ssh to access your environment or run commands inside the environment with baker run. Your code is accessible in the baker environment via a shared folder.

For more details, checkout docs.getbaker.io.

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay