Custom Linux configuration for running docker. Also includes default dotfiles for tmux
, vim
, bash
and git
, for ssh sessions.
Tested on Ubuntu 14.04
Install and configure xclip
, tmux
, git
, vim
, openssh
(server), ruby
, python
, docker
and docker-compose
.
In order to use this recipe to provision a machine, git
and knife-zero
can be used (reference).
- Create ssh keys, copy it to the target machine
~/.ssh/know_hosts
(seessh-copy-id
) and launchssh-agent
. - Install knife-zero gem (
chef gem install knife-zero
usingChefDK
) - Clone this repo &
cd
into it berks install
berks vendor .chef/cookbooks
- This repo contains a
.chef
directory designed to be used as a localchef-repo
forknife
andchef-zero
. You can use another directory, changing the path passed toberks vendor
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).