Skip to content

Instantly share code, notes, and snippets.

@djs55
Last active July 25, 2020 13:30
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djs55/0e8957e1e36431a43cbfd3caaffa9165 to your computer and use it in GitHub Desktop.
Save djs55/0e8957e1e36431a43cbfd3caaffa9165 to your computer and use it in GitHub Desktop.
Development builds containing the Docker Desktop + Mutagen integration

This is a list of Docker Desktop for Mac development builds which contain mutagen. These are based on Edge, but may contain unexpected bugs. They should be used for testing the Mutagen feature rather than for production work.

2020-07-14: development snapshot: https://desktop-stage.docker.com/mac/edge/46638/Docker.dmg

  • Exclude files from a mutagen sync based on the .dockerignore file.
  • Flush around docker exec as well as docker run for more reliable scripting.
  • Fix a bug which could result in duplicates in the list of synchronised directories.
  • Allow the sync to be bypassed by using :consistent or :cached. In particular this means if you want the previous :delegated behaviour before mutagen, switch to :cached. This is backwards compatible with previous Docker versions.

2020-07-09: Edge 2.3.3.0: https://desktop.docker.com/mac/edge/46574/Docker.dmg

  • Respect consistency flags when used in a list of options (e.g. -v /foo:/bar:z,delegated

2020-06-25: Edge 2.3.2.0: https://desktop.docker.com/mac/edge/46268/Docker.dmg

  • Automatically set up a two-way file sync using :delegated option with docker run -v command.

2020-06-16: development snapshot: https://desktop-stage.docker.com/mac/edge/45977/Docker.dmg

  • Force a mutagen flush when starting and stopping containers, to make it easier to write scripts like docker run -v ... touch file and then ls file
  • Terminology: use synchronize rather than cache, to better match mutagen terminology
  • Delete synchronization state on "Reset to factory defaults"
  • Display a popup if the mutagen state is Halted, e.g. if too many files are suddenly deleted.
  • For diagnostics, use curl -X GET --unix-socket ~/Library/Containers/com.docker.docker/Data/docker-api.sock http:/localhost/synchronize/state (note new URI)

2020-05-26: development snapshot: https://desktop-stage.docker.com/mac/edge/45494/Docker.dmg

  • Set the symlink mode to posix-raw, fixing problems where the sync would get stuck in the "Error" state if it encounters a symlink which points outside the directory being synchronised
  • Ref: docker/for-mac#4595 (comment)

2020-05-21: development snapshot: https://omakase.docker.paris/#/stage/mac/edge/45418

2020-05-20: Edge 2.3.1.0: https://desktop.docker.com/mac/edge/45408/Docker.dmg

  • Official edge release with the first version of the integration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment