1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00
Files
cli/components/engine/docs/sources/contributing/devenvironment.rst
Ken Cochrane ea350d9812 fixed the git clone url, it was the read-write one that required ssh access to the docker account, changed to the read only version
Upstream-commit: 87038311fc0869d8dd9303d11ed79279238b0b6e
Component: engine
2013-05-12 21:46:35 -04:00

820 B

title
Setting up a dev environment
description
Guides on how to contribute to docker
keywords
Docker, documentation, developers, contributing, dev environment

Setting up a dev environment

Instructions that have been verified to work on Ubuntu 12.10,

sudo apt-get -y install lxc wget bsdtar curl golang git

export GOPATH=~/go/
export PATH=$GOPATH/bin:$PATH

mkdir -p $GOPATH/src/github.com/dotcloud
cd $GOPATH/src/github.com/dotcloud
git clone git://github.com/dotcloud/docker.git
cd docker

go get -v github.com/dotcloud/docker/...
go install -v github.com/dotcloud/docker/...

Then run the docker daemon,

sudo $GOPATH/bin/docker -d

Run the go install command (above) to recompile docker.