Skip to content

Releases: docker/compose

1.0.0

16 Oct 18:07
Compare
Choose a tag to compare

Install/upgrade instructions here.

The highlights:

  • Fig has joined Docker. Fig will continue to be maintained, but we'll also be incorporating the best bits of Fig into Docker itself.

    This means the GitHub repository has moved to https://github.com/docker/fig and our IRC channel is now #docker-fig on Freenode.

  • Fig can be used with the official Docker OS X installer. Boot2Docker will mount the home directory from your host machine so volumes work as expected.

  • Fig supports Docker 1.3.

  • It is now possible to connect to the Docker daemon using TLS by using the DOCKER_CERT_PATH and DOCKER_TLS_VERIFY environment variables.

  • There is a new fig port command which outputs the host port binding of a service, in a similar way to docker port.

  • There is a new fig pull command which pulls the latest images for a service.

  • There is a new fig restart command which restarts a service's containers.

  • Fig creates multiple containers in service by appending a number to the service name (e.g. db_1, db_2, etc). As a convenience, Fig will now give the first container an alias of the service name (e.g. db).

    This link alias is also a valid hostname and added to /etc/hosts so you can connect to linked services using their hostname. For example, instead of resolving the environment variables DB_PORT_5432_TCP_ADDR and DB_PORT_5432_TCP_PORT, you could just use the hostname db and port 5432 directly.

  • Volume definitions now support ro mode, expanding ~ and expanding environment variables.

  • .dockerignore is supported when building.

  • The project name can be set with the FIG_PROJECT_NAME environment variable.

  • The --env and --entrypoint options have been added to fig run.

  • The Fig binary for Linux is now linked against an older version of glibc so it works on CentOS 6 and Debian Wheezy.

Other things:

  • fig ps now works on Jenkins and makes fewer API calls to the Docker daemon.
  • --verbose displays more useful debugging output.
  • When starting a service where volumes_from points to a service without any containers running, that service will now be started.
  • Lots of docs improvements. Notably, environment variables are documented and official repositories are used throughout.

Thanks @dnephin, @d11wtq, @marksteve, @rubbish, @jbalonso, @timfreund, @alunduil, @mieciu, @shuron, @moss, @suzaku and @chmouel! Whew.

0.5.2

31 Jul 19:28
Compare
Choose a tag to compare

Install/upgrade instructions here.

  • Added a --no-cache option to fig build, which bypasses the cache just like docker build --no-cache.
  • Fixed the dns: fig.yml option, which was causing fig to error out.
  • Fixed a bug where fig couldn't start under Python 2.6.
  • Fixed a log-streaming bug that occasionally caused fig to exit.

Thanks @dnephin and @marksteve!

0.5.1

14 Jul 23:05
Compare
Choose a tag to compare

Install/upgrade instructions here. Note that Fig now requires Docker 1.0 or greater.

  • If a service has a command defined, fig run [service] with no further arguments will run it.
  • The project name now defaults to the directory containing fig.yml, not the current working directory (if they're different)
  • volumes_from now works properly with containers as well as services
  • Fixed a race condition when recreating containers in fig up

Thanks @ryanbrainard and @d11wtq!

0.5.0

11 Jul 21:23
Compare
Choose a tag to compare

Install/upgrade instructions here. Note that Fig now requires Docker 1.0 or greater.

Lots of new stuff in this one:

  • Fig now starts links when you run fig run or fig up.

    For example, if you have a web service which depends on a db service, fig run web ... will start the db service.

  • Environment variables can now be resolved from the environment that Fig is running in. Just specify it as a blank variable in your fig.yml and, if set, it'll be resolved:

    environment:
     RACK_ENV: development
     SESSION_SECRET:
    
  • volumes_from is now supported in fig.yml. All of the volumes from the specified services and containers will be mounted:

    volumes_from:
    - service_name
    - container_name
    
  • The net and workdir options are now supported in fig.yml.

  • The hostname option now works in the same way as the Docker CLI, splitting out into a domainname option.

  • TTY behaviour is far more robust, and resizes are supported correctly.

  • Load YAML files safely.

Thanks to @d11wtq, @ryanbrainard, @rail44, @j0hnsmith, @binarin, @Elemecca and @mozz100 for their help with this release!

0.4.2

18 Jun 16:24
Compare
Choose a tag to compare

This release fixes various encoding errors when using fig run, fig up and fig build.

Install/upgrade instructions here.

0.4.1

08 May 12:05
Compare
Choose a tag to compare
  • Add support for Docker 0.11.0. (Thanks @marksteve!)
  • Make project name configurable. (Thanks @jefmathiot!)
  • Return correct exit code from fig run.

Install/upgrade instructions here.

0.4.0

30 Apr 15:14
Compare
Choose a tag to compare
  • Fig supports Docker 0.9 and 0.10. Docker 0.8 is no longer supported.
  • Progress bars are displayed correctly when pulling images (no more ski slopes).
  • fig up now stops all services when any container exits.
  • fig.yml supports the privileged config option (thanks @kvz!)
  • Log prefixes in fig up output are shorter and aligned.
  • Only containers started with fig run link back to their own service.
  • UTF-8 is handled correctly when streaming fig build/run/up output (thanks @mauvm and @shanejonas!)
  • Some error messages are a bit nicer.

Fig is a tool for creating and running fast, isolated development environments using Docker.

If you've already got an older Fig installed, no sweat - upgrading from a previous version is the same as installing from scratch. Make sure your Docker is up-to-date too (0.9+).

0.3.2

05 Mar 14:55
Compare
Choose a tag to compare
  • Added an --rm option to fig run. (Thanks @marksteve!)
  • Added an expose option to fig.yml.

0.3.1

04 Mar 11:55
Compare
Choose a tag to compare
  • Added contribution instructions. (Thanks @kvz!)
  • Fixed fig rm throwing an error.
  • Fixed a bug in fig ps on Docker 0.8.1 when there is a container with no command.

0.3.0

03 Mar 19:16
Compare
Choose a tag to compare
  • We now ship binaries for OS X and Linux. No more having to install with Pip!
  • Add -f flag to specify alternate fig.yml files
  • Add support for custom link names
  • Fix a bug where recreating would sometimes hang
  • Update docker-py to support Docker 0.8.0.
  • Various documentation improvements
  • Various error message improvements

Thanks @marksteve, @Gazler and @teozkr!

Fig is a tool for creating and running fast, isolated development environments using Docker.

If you're upgrading from a previous version, run sudo pip uninstall fig, then check the installation instructions for your OS.