BIDS-collaborative / brainspell

brainspell is a web platform to facilitate the creation of an open, human-curated, classification of the neuroimaging literature
https://gitter.im/BIDS-collaborative/brainspell
2 stars 6 forks source link

Get going with Docker Machine #22

Closed davclark closed 8 years ago

davclark commented 8 years ago

I'm trusting @stefanv can keep things straight, so putting this here prior to settling on the final development location... I'll keep notes below.

davclark commented 8 years ago

I installed via homebrew. Kitematic is available via brew cask, installed docker, docker-machine, and docker-compose via regular homebrew.

Immediately hit rate limiting trying docker-machine create --driver virtualbox default. Docs on how to give docker-machine this token are hard to find.

davclark commented 8 years ago

The secret is to create a public access GitHub API token and assign it to the MACHINE_GITHUB_API_TOKEN shell var.

jbpoline commented 8 years ago

Dav: do you recommend folks on mac (OSX) to try to play with this ? or to wait till Friday ?

davclark commented 8 years ago

I think it's good for them to try.

Also, here are a useful alias & function I've set up:

alias dm=docker-machine

# simple functions to allow arguments inside of complicated commands
dmenv () {
    eval "$(docker-machine env $1)"
}