docker-magic-sync

(★ 33)

Docker image that provides a portable and easy to configure bi-directionnal sync for Docker with user/uid mapping

File Explorer

  • .gitignore
  • build.sh
  • config_sync.py
  • Dockerfile
  • entrypoint.sh
  • README.md
  • supervisor.unison.tpl.conf
  • supervisord.conf
  • VERSION
  • volumes.tmpl

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

composer

View Details ▼

A package-based dependency manager for PHP projects.

composer init

Interactively create a `composer.json` file:

composer require {{user/package}}

Add a package as a dependency for this project, adding an entry to `composer.json`:

composer install

Install all the dependencies in this project's `composer.json` and create `composer.lock`:

🔍

docker exec

View Details ▼

This command is an alias of `docker container exec`.

tldr docker container exec

View documentation for the original command:

🔍

unison

View Details ▼

Bidirectional file synchronisation tool.

unison {{path/to/directory_1}} {{path/to/directory_2}}

Sync two directories (creates log first time these two directories are synchronized):

unison {{path/to/directory_1}} {{path/to/directory_2}} -auto

Automatically accept the (non-conflicting) defaults:

unison {{path/to/directory_1}} {{path/to/directory_2}} -ignore {{pattern}}

Ignore some files using a pattern:

// repository documentation