EugenMayer / docker-sync

Run your application at full speed while syncing your code for development, finally empowering you to utilize docker for development under OSX/Windows/*Linux
GNU General Public License v3.0
3.54k stars 290 forks source link

.docker-sync folder is being sync'd #505

Closed b1alpha closed 6 years ago

b1alpha commented 6 years ago

Do I want this to be sync'd not sure, seems like might not need to be on the container

Error

[2017-11-21 15:05:11 -0800] Sync Log:  UNISON 2.48.4 started propagating changes at 23:05:33.32 on 21 Nov 2017
[2017-11-21 15:05:11 -0800] Sync Log:  [BGN] Copying .docker-sync/daemon.log from /host_sync to /app_sync
[2017-11-21 15:05:11 -0800] Sync Log:  [END] Copying .docker-sync/daemon.log
[2017-11-21 15:05:11 -0800] Sync Log:  [BGN] Copying .docker-sync/daemon.pid from /host_sync to /app_sync
[2017-11-21 15:05:11 -0800] Sync Log:  [END] Copying .docker-sync/daemon.pid

Docker Driver

d4m

Sync strategy

native_osx

your docker-sync.yml

options: 
  verbose: true
syncs: 
  appcode-native-sync: 
    src: ./
    sync_excludes: 
      - public/js/bower_components/
      - node_modules/
      - vendor
      - .docker-sync/
    sync_host_ip: auto
    sync_host_port: 10872
    sync_strategy: native_osx
version: "2"

OS

OSX 10.13.1

b1alpha commented 6 years ago

I figured out by looking closer at the boilerplate that the tailing / is not required. Once removed those folders are no longer synced