9.0 KiB
Change log
1.0.1 (2014-11-04)
- Added an
--allow-insecure-ssloption to allowfig up,fig runandfig pullto pull from insecure registries. - Fixed
fig runnot showing output in Jenkins. - Fixed a bug where Fig couldn't build Dockerfiles with ADD statements pointing at URLs.
1.0.0 (2014-10-16)
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_PATHandDOCKER_TLS_VERIFYenvironment variables. -
There is a new
fig portcommand which outputs the host port binding of a service, in a similar way todocker port. -
There is a new
fig pullcommand which pulls the latest images for a service. -
There is a new
fig restartcommand 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/hostsso you can connect to linked services using their hostname. For example, instead of resolving the environment variablesDB_PORT_5432_TCP_ADDRandDB_PORT_5432_TCP_PORT, you could just use the hostnamedband port5432directly. -
Volume definitions now support
romode, expanding~and expanding environment variables. -
.dockerignoreis supported when building. -
The project name can be set with the
FIG_PROJECT_NAMEenvironment variable. -
The
--envand--entrypointoptions have been added tofig 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 psnow works on Jenkins and makes fewer API calls to the Docker daemon.--verbosedisplays more useful debugging output.- When starting a service where
volumes_frompoints 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 (2014-07-28)
- Added a
--no-cacheoption tofig build, which bypasses the cache just likedocker 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 (2014-07-11)
- 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_fromnow 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 (2014-07-11)
-
Fig now starts links when you run
fig runorfig up.For example, if you have a
webservice which depends on adbservice,fig run web ...will start thedbservice. -
Environment variables can now be resolved from the environment that Fig is running in. Just specify it as a blank variable in your
fig.ymland, if set, it'll be resolved:environment: RACK_ENV: development SESSION_SECRET: -
volumes_fromis now supported infig.yml. All of the volumes from the specified services and containers will be mounted:volumes_from: - service_name - container_name -
A host address can now be specified in
ports:ports: - "0.0.0.0:8000:8000" - "127.0.0.1:8001:8001" -
The
netandworkdiroptions are now supported infig.yml. -
The
hostnameoption now works in the same way as the Docker CLI, splitting out into adomainnameoption. -
TTY behaviour is far more robust, and resizes are supported correctly.
-
Load YAML files safely.
Thanks to @d11wtq, @ryanbrainard, @rail44, @j0hnsmith, @binarin, @Elemecca, @mozz100 and @marksteve for their help with this release!
0.4.2 (2014-06-18)
- Fix various encoding errors when using
fig run,fig upandfig build.
0.4.1 (2014-05-08)
- Add support for Docker 0.11.0. (Thanks @marksteve!)
- Make project name configurable. (Thanks @jefmathiot!)
- Return correct exit code from
fig run.
0.4.0 (2014-04-29)
- Support Docker 0.9 and 0.10
- Display progress bars correctly when pulling images (no more ski slopes)
fig upnow stops all services when any container exits- Added support for the
privilegedconfig option in fig.yml (thanks @kvz!) - Shortened and aligned log prefixes in
fig upoutput - Only containers started with
fig runlink back to their own service - Handle UTF-8 correctly when streaming
fig build/run/upoutput (thanks @mauvm and @shanejonas!) - Error message improvements
0.3.2 (2014-03-05)
- Added an
--rmoption tofig run. (Thanks @marksteve!) - Added an
exposeoption tofig.yml.
0.3.1 (2014-03-04)
- Added contribution instructions. (Thanks @kvz!)
- Fixed
fig rmthrowing an error. - Fixed a bug in
fig pson Docker 0.8.1 when there is a container with no command.
0.3.0 (2014-03-03)
- We now ship binaries for OS X and Linux. No more having to install with Pip!
- Add
-fflag to specify alternatefig.ymlfiles - 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!
0.2.2 (2014-02-17)
- Resolve dependencies using Cormen/Tarjan topological sort
- Fix
fig upnot printing log output - Stop containers in reverse order to starting
- Fix scale command not binding ports
Thanks to @barnybug and @dustinlacewell for their work on this release.
0.2.1 (2014-02-04)
- General improvements to error reporting (#77, #79)
0.2.0 (2014-01-31)
- Link services to themselves so run commands can access the running service. (#67)
- Much better documentation.
- Make service dependency resolution more reliable. (#48)
- Load Fig configurations with a
.yamlextension. (#58)
Big thanks to @cameronmaske, @mrchrisadams and @damianmoore for their help with this release.
0.1.4 (2014-01-27)
- Add a link alias without the project name. This makes the environment variables a little shorter:
REDIS_1_PORT_6379_TCP_ADDR. (#54)
0.1.3 (2014-01-23)
- Fix ports sometimes being configured incorrectly. (#46)
- Fix log output sometimes not displaying. (#47)
0.1.2 (2014-01-22)
- Add
-Toption tofig runto disable pseudo-TTY. (#34) - Fix
fig uprequiring the ubuntu image to be pulled to recreate containers. (#33) Thanks @cameronmaske! - Improve reliability, fix arrow keys and fix a race condition in
fig run. (#34, #39, #40)
0.1.1 (2014-01-17)
- Fix bug where ports were not exposed correctly (#29). Thanks @dustinlacewell!
0.1.0 (2014-01-16)
- Containers are recreated on each
fig up, ensuring config is up-to-date withfig.yml(#2) - Add
fig scalecommand (#9) - Use
DOCKER_HOSTenvironment variable to find Docker daemon, for consistency with the official Docker client (was previouslyDOCKER_URL) (#19) - Truncate long commands in
fig ps(#18) - Fill out CLI help banners for commands (#15, #16)
- Show a friendlier error when
fig.ymlis missing (#4) - Fix bug with
fig buildlogging (#3) - Fix bug where builds would time out if a step took a long time without generating output (#6)
- Fix bug where streaming container output over the Unix socket raised an error (#7)
Big thanks to @tomstuart, @EnTeQuAk, @schickling, @aronasorman and @GeoffreyPlitt.
0.0.2 (2014-01-02)
- Improve documentation
- Try to connect to Docker on
tcp://localdocker:4243and a UNIX socket in addition tolocalhost. - Improve
fig upbehaviour - Add confirmation prompt to
fig rm - Add
fig buildcommand
0.0.1 (2013-12-20)
Initial release.