🖥

#docker sync start ( unison ) がエラーで動かない ( MacOS Catallina 10.15.3 )(

2023/09/01に公開

解決

gem uninstall docker-sync
gem install docker-sync
docker-sync clean

( rm ~/.docker-sync-global.yml )

docker-sync start

https://github.com/EugenMayer/docker-sync/issues/540#issuecomment-372992379

Error

$ docker-sync start
$ docker-sync start
          ok  Stopping sync container foo-bar-app
          ok  Starting unison for sync foo-bar-app
          ok  foo-bar-app container not running
          ok  starting foo-bar-app container
     command  docker start foo-bar-app && docker exec foo-bar-app supervisorctl restart unison
          ok  starting initial sync of foo-bar-app
     command  docker inspect --format='' foo-bar-app
     command  docker inspect --format='' foo-bar-app
       error  Error getting mapped port, exit code 0
     message  Template parsing error: template: :1:3: executing "" at <index (index .NetworkSettings.Ports "5000/tcp") 0>: error calling index: index of untyped nil
     command  unison -testserver /app_sync "socket://127.0.0.1:"

Original by Github issue

https://github.com/YumaInaura/YumaInaura/issues/3090

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ

Twitter

https://twitter.com/YumaInaura

公開日時

2020-04-30

Discussion