0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

#docker sync start ( unison ) がエラーで動かない ( MacOS Catallina 10.15.3 )( Error getting mapped port, exit code 0 )

Last updated at Posted at 2020-04-30

解決

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

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

docker-sync start

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

チャットメンバー募集

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

Twitter

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?