docker-rsync

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2016 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

docker-rsync

docker-rsync recursively watches directories for changes and copies changes via rsync. It is a drop in replacement for the existing boot2docker vboxsf feature.

Please note though that syncing happens only in one direction. If you want to sync back from a Docker container to your local machine, docker-rsync is not the tool you're looking for.

Is it fast? Yes! While the initial sync might take some seconds (depending on the number of files you want to sync), following syncs are super fast (compared to vboxsf & NFS). A one file sync usually takes less than 100ms.

docker-rsync relies on FSEvents API, so this tool will only work under Mac OSX.

Installation

brew tap synack/docker
brew install docker-rsync

Usage with docker-machine

brew install docker-machine
docker-machine create my-machine123 -d virtualbox

cd sync-this-directory
echo ".git" >> .rsyncignore

docker-rsync my-machine123

Talk to rsync directly

cd sync-this-directory
echo ".git" >> .rsyncignore

docker-rsync rsync://<IP:PORT>/<MODULE>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/fsnotify/fsevents
Package fsevents provides file system notifications on OS X.
Package fsevents provides file system notifications on OS X.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址