abravalheri / base-docker-server-cookbook

Custom Linux configuration for running docker. Also includes default dotfiles for `tmux`, `vim`, `bash` and `git`, for ssh sessions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

base-docker-server

Custom Linux configuration for running docker. Also includes default dotfiles for tmux, vim, bash and git, for ssh sessions.

Platforms

Tested on Ubuntu 14.04

Recipes

base-docker-server::default

Install and configure xclip, tmux, git, vim, openssh (server), ruby, python, docker and docker-compose.

Standalone mode

In order to use this recipe to provision a machine, git and knife-zero can be used (reference).

  1. Create ssh keys, copy it to the target machine ~/.ssh/know_hosts (see ssh-copy-id) and launch ssh-agent.
  2. Install knife-zero gem (chef gem install knife-zero using ChefDK)
  3. Clone this repo & cd into it
  4. berks install
  5. berks vendor .chef/cookbooks
  • This repo contains a .chef directory designed to be used as a local chef-repo for knife and chef-zero. You can use another directory, changing the path passed to berks vendor
  1. knife zero bootstrap FQDN_OR_IP -x SSH_USER -r base-docker-server

Please make sure to have an IP for your machine when using Vagrant (Host-Only Networking reference).

About

Custom Linux configuration for running docker. Also includes default dotfiles for `tmux`, `vim`, `bash` and `git`, for ssh sessions.

License:Mozilla Public License 2.0


Languages

Language:Ruby 100.0%