Giter Site home page Giter Site logo

bobpace-devbox's Introduction

devbox

Installation

make

Run a volume container for home, dotfiles, and data:

docker run --name home bobpace/home
docker run --name dotfiles bobpace/dotfiles
docker run --name data bobpace/data

Use the shell scripts in devbox-scripts.sh, they will handle passing along the docker socket, ssh agent, and X11 forwarding.

##Ssh keys for working with git

Get ssh-agent working with your keys

eval `ssh-agent -s`
ssh-add ~/.ssh/*_rsa

If you are using boot2docker or otherwise using ssh to a docker host, do it with -A to pass through ssh keys and -X for clipboard support through X11.

##Folder sharing directions from boot2docker

# Make a volume container (only need to do this once)
$ docker run -v /data --name my-data busybox true
# Share it using Samba (Windows file sharing)
$ docker run --rm -v /usr/local/bin/docker:/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba my-data
# then find out the IP address of your Boot2Docker host
$ boot2docker ip
192.168.59.103

##Postgres and dbext.vim plugin usage

Start a postgres instance:

docker run --name some-postgres -d postgres

Run a box with --link some-postgres:postgres

There is a profile set up for dbext.vim that has the postgres connection information for use with a linked postgres container

bobpace-devbox's People

Contributors

bobpace avatar statianzo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.