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.53k stars 289 forks source link

The sync container crash after docker-sync-stack start #382

Closed beshkenadze closed 7 years ago

beshkenadze commented 7 years ago

Error

In console: Sync Log: rpc error: code = 2 desc = oci runtime error: exec failed: cannot exec a container that has run and stopped *In container (-sync)**: image

Docker Sync Version

docker-sync-stack --version > 0.4.4.beta1 docker-sync --version > 0.4.4.beta1

Docker Driver

d4m

Sync strategy

native_osx

your docker-sync.yml


options:
  verbose: true
syncs:
  #IMPORTANT: ensure this name is unique and does not match your other application container name
  ${PROJECT_NAME}-sync: # tip: add -sync and you keep consistent names also a convention
    src: '${APP_PATH}'
    sync_excludes: ['']

OS

OSX 10.12.4

EugenMayer commented 7 years ago

upgrade to 0.4.4 and enable auto upgrade - or do not create issues

beshkenadze commented 7 years ago

Do I need to downgrade? Here you told to upgrade to beta-1.

EugenMayer commented 7 years ago

You mean in the closed issue, 2 days ago? :)

Please upgrade to the current stable. Do you have upgrades disabled?

EugenMayer commented 7 years ago

after you properly upgraded, this issue will not exist there is no such line even left anymore https://github.com/EugenMayer/docker-image-unison/blob/feature/unison-hostsync/entrypoint.sh#L75

beshkenadze commented 7 years ago

auot-updated to version 0.4.4 and sync is not working as in version #374 .

EugenMayer commented 7 years ago

please open a new issue, since thats for sure not this one, paste your docker-sync.yml and you ~/.docker-sync-global.yml

also paste your synccontainer:/tmp/unison.log and the docker logs of the sync container