github batect/batect 0.11

latest releases: 0.85.0, 0.84.0, 0.83.9...
6 years ago

What's new

  • Volume mounts can now be specified in an expanded, more user-friendly format, for example:

    containers:
      my-container:
        ...
        volumes:
          # This is equivalent to .:/code:cached
          - local: .
            container: /code
            options: cached
  • Port mappings can also now be specified in an expanded format, for example:

    containers:
      my-container:
        ...
        ports:
          # This is equivalent to 1234:5678
          - local: 1234
            container: 5678

What's been fixed

  • The update notification (that tells you when you're running an old version of batect) now works correctly when batect is running behind a proxy.
  • The issue where a container sometimes fails to start after it is built for the first time (but starts successfully on subsequent attempts) has been fixed. This was often seen in projects that use Python and pip and would result in an 'unable to find image' error message when batect attempted to create the container. (Thanks to @pameck for finding and reporting this issue to me offline.)

Getting started

First time using batect? Take a look at the getting started guide, or the Java or Ruby sample projects.

How to upgrade from previous versions

Already using batect? To install this update, simply replace the batect script in your project with the one attached to this release. (Don't forget to make it executable with chmod +x batect if need be.)

Don't miss a new batect release

NewReleases is sending notifications on new releases.