Skip to main content

Utility to sync docker image between 2 docker host machines

Project description

A utility to sync docker images between two machines while transferring only the changed layers

Setup

Requirements

Apart from docker, rsync is needed on both the machines.

Installation

pipx install docker-remote-sync or pip install docker-remote-sync or uv tool install docker-remote-sync

Usage

usage: docker-remote-sync [-h] [--port PORT] [--docker-cmd DOCKER_CMD] image_name remote remote_cache_folder

Utility to sync updated docker layers between two docker host machines

positional arguments:
  image_name            Docker image on local machine
  remote                Address of remote
  remote_cache_folder   Cache folder on remote

options:
  -h, --help            show this help message and exit
  --port PORT           Alternate ssh port on remote
  --docker-cmd DOCKER_CMD
                        Alternate docker command. Defaults to `docker`. Eg. `colima x - docker` or `podman`

○ Do not delete the cache folder on the remote machine to be able to take advantage of incremental file sync
○ Example usage: `docker-remote-sync alpine:latest remotehost "~/my_alpine_cache"`

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docker_remote_sync-0.7.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docker_remote_sync-0.7.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file docker_remote_sync-0.7.0.tar.gz.

File metadata

  • Download URL: docker_remote_sync-0.7.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for docker_remote_sync-0.7.0.tar.gz
Algorithm Hash digest
SHA256 7a9d297d6f4e27f720aadae5b134508e26d41045a5e61d7de9ef213f4ce9d42e
MD5 f24fcc296919af24fd5ba4b9daa9de85
BLAKE2b-256 566504cc3a343c758f9e80ebb9a9b8fd0a9587544a7d297c15b5bd984d451a14

See more details on using hashes here.

File details

Details for the file docker_remote_sync-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for docker_remote_sync-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 312581467353db80190508eb21fa74e79bd2c98960b103cdd84954a305970e1e
MD5 16679cc72dd2fba18cc5ba3f2670e5d7
BLAKE2b-256 c21daff16457b52484b5541654b283dcfc5228566eed9891950d0c4a40f0b739

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page