You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2018. It is now read-only.
Kevin Ross edited this page Sep 29, 2015
·
3 revisions
Linux
Docker install
sudo apt-get update
curl -sSL https://get.docker.com/ | sh
sudo docker run hello-world
Compose install
install compose
sudo su -
# double check that this url is the latest release!
curl -L https://github.com/docker/compose/releases/download/1.4.1/docker-compose-`uname -s`-`uname -m`> /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
(optional) UFW configuration
# for docker see https://docs.docker.com/installation/ubuntulinux/#enable-ufw-forwarding
DEFAULT_FORWARD_POLICY="ACCEPT"
(optional) Switch to overlay
This isn't necessary, but if you want, here's how to do it.
systemctl stop docker
rm -rf /var/lib/docker
mkdir /etc/systemd/system/docker.service.d
cd /etc/systemd/system/docker.service.d
vi storage.conf
# add the startup option which rewrites the ExecStart with options similar to /lib/systemd/system/docker.service
[Service]
ExecStart=
ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver=overlay
sudo systemctl daemon-reload
OSX
virtualbox install
brew tap caskroom/cask
brew install brew-cask
brew cask install virtualbox
dinghy intstall
brew install --HEAD https://github.com/codekitchen/dinghy/raw/latest/dinghy.rb
# add env variables to .bash_profile as indicated from installation
brew cask install docker-compose