Source repo for Docker's Documentation
Go to file
Alex Brandt 0150b38b8f Add tests to sdist.
In order to validate installation it's very convenient to have the tests
as part of the source distribution.  This greatly assists native
packaging that might occur (i.e. Gentoo ebuilds).

Signed-off-by: Alex Brandt <alunduil@alunduil.com>
2014-11-28 09:37:33 -06:00
bin Add script to build an OS X binary 2014-03-03 15:09:56 +00:00
docs Merge pull request #578 from bfirsh/update-url-in-twitter-button 2014-10-23 16:17:38 +01:00
fig Merge pull request #562 from tjrivera/insecure-registry 2014-10-22 18:45:03 +01:00
script Vendor dockerpty at c8b493553477c9a57d163c71c97b2102f44a6ce7 2014-10-16 16:24:39 +01:00
tests Merge pull request #562 from tjrivera/insecure-registry 2014-10-22 18:45:03 +01:00
.dockerignore Add .dockerignore 2014-10-23 19:00:44 +01:00
.gitignore Fix cli for python 2.6 2014-07-15 13:07:46 -07:00
CHANGES.md Merge pull request #550 from bfirsh/fix-date-on-change-notes 2014-10-17 15:47:50 +01:00
CONTRIBUTING.md Move building binaries instructions 2014-10-23 18:31:28 +01:00
Dockerfile Run pyinstaller build as normal user 2014-09-30 16:25:40 -07:00
LICENSE Docker, Inc. 2014-07-24 10:24:17 -07:00
MAINTAINERS Add maintainers file 2014-07-17 18:20:53 -07:00
MANIFEST.in Add tests to sdist. 2014-11-28 09:37:33 -06:00
README.md Update wercker badge 2014-10-01 12:50:30 -07:00
requirements-dev.txt Remove fig.packages replace with real deps. 2014-09-05 11:44:49 -07:00
requirements.txt Update docker-py to 0.5.3 2014-10-16 18:46:55 +01:00
setup.py Merge pull request #574 from bfirsh/update-tagline 2014-10-22 12:46:16 +01:00
tox.ini Resolves #553, Resolves #546 - bug fixes with unit tests 2014-10-18 13:54:10 -04:00
wercker.yml Run pyinstaller build as normal user 2014-09-30 16:25:40 -07:00

README.md

Fig

wercker status

Fast, isolated development environments using Docker.

Define your app's environment with Docker so it can be reproduced anywhere:

FROM python:2.7
ADD . /code
WORKDIR /code
RUN pip install -r requirements.txt
CMD python app.py

Define the services that make up your app so they can be run together in an isolated environment:

web:
  build: .
  links:
   - db
  ports:
   - "8000:8000"
   - "49100:22"
db:
  image: postgres

(No more installing Postgres on your laptop!)

Then type fig up, and Fig will start and run your entire app:

example fig run

There are commands to:

  • start, stop and rebuild services
  • view the status of running services
  • tail running services' log output
  • run a one-off command on a service

Installation and documentation

Full documentation is available on Fig's website.