docker-magic-sync
Docker image that provides a portable and easy to configure bi-directionnal sync for Docker with user/uid mapping
File Explorer
- docker-entrypoint.sh
- Dockerfile
- .gitignore
- composer.json
- docker-compose.development.yml
- docker-compose.yml
- docker-syncs.yml
- result.sh
- test-files-generated-in-container.sh
- test-files-generated-on-host.sh
- test-utils.sh
- .gitignore
- build.sh
- config_sync.py
- Dockerfile
- entrypoint.sh
- README.md
- supervisor.unison.tpl.conf
- supervisord.conf
- VERSION
- volumes.tmpl
# Use via CDN
jsDelivrjsDelivr 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 ▼
composer
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 ▼
docker exec
This command is an alias of `docker container exec`.
tldr docker container exec
View documentation for the original command:
unison
View Details ▼
unison
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:
