docker-magic-sync

(★ 33)

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

파일 탐색기

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

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

composer

설명 보기 ▼

PHP 프로젝트의 의존성(dependency)을 기반으로 한 매니저 패키지.
더 많은 정보: <https://getcomposer.org/doc/03-cli.md>.

composer init

대화형으로 `composer.json` 파일을 생성:

composer require {{user/package}}

프로젝트의 의존성으로 패키지를 추가하고, `composer.json`에 항목을 추가:

composer install

프로젝트의 `composer.json` 안에 모든 의존성(dependency)를 설치합니다:

🔍

docker exec

설명 보기 ▼

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

tldr docker container exec

View documentation for the original command:

🔍

unison

설명 보기 ▼

양방향 파일 동기화 도구.
더 많은 정보: <https://github.com/bcpierce00/unison>.

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

두 디렉토리 동기화 (이 두 디렉토리가 처음으로 동기화될 때 로그 생성):

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

(충돌 없는) 기본값 자동 수락:

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

패턴을 사용하여 일부 파일 무시:

// repository documentation