Sign inSign up

edeckers/rsync

By edeckers

Updated 3 months ago

Alpine-based rsync, useful for syncing files between volumes. Multi-platform support (amd64, arm64).

Image
Databases & storage
0

1.4K

edeckers/rsync repository overview

rsync

Minimal Alpine-based rsync container, useful for syncing files between volumes. Multi-platform support (amd64, arm64).

Usage

# Sync from source to destination volume
docker run --rm \
  -v /source:/src:ro \
  -v /destination:/dst \
  edeckers/rsync -av /src/ /dst/

# With Docker Compose
docker run --rm \
  -v data-volume-1:/src:ro \
  -v data-volume-2:/dst \
  edeckers/rsync -av --delete /src/ /dst/

Pass any standard rsync flags directly to the container.

Source Code

FROM alpine

RUN apk add --update-cache \
    rsync \
 && rm -rf /var/cache/apk/*

ENTRYPOINT ["rsync"]

License

MPL-2.0

Tag summary

Content type

Image

Digest

sha256:54abff0e2

Size

4.7 MB

Last updated

8 months ago

docker pull edeckers/rsync