環境
go version 1.13.0
docker version 20.10.7
windows 10 home
https://github.com/yunabe/lgo#quick-start-with-docker
上記記事のQuick Start with Dockerを参考にdockerを使用して、golangをjupyter notebookで使用しようとしているのですが、失敗します。最初、デフォルトのまま、docker-compose up -dをしてしまったのですが、上手くいかず、後から自分のローカルの環境ではjupyter notebook を立ち上げるとport番号が8890で立ち上がるので、yamlファイルは下記のようにportを変更しました。
しかし何度、やり直しても、アクセス先のport番号が変わらない状態でスタックしてます。
Currently running servers: http://0.0.0.0:8888/?token=23cfd20e119220b3f1ec3c289887b9f7d3c1597be182a6bd :: /examples
と出てしまいます。
自分のやり直し方に問題があるのかもしれません。
やり直しの処理としては下記を実行しました。
- docker compose down してから docker compose up -d
- docker アプリ自体を再起動してから docker compose up -d
いずれの方法をとってもアクセス先portの8888は変わらず、サイトにアクセスできません。
何が間違っているかご教授いただければ、幸いです。
docker
1version: "3.3" 2 3services: 4 jupyter: 5 build: 6 context: . 7 # To use a different port of host, change the first 8888. 8 ports: 9 - "8890:8888" 10 volumes: 11 - type: "bind" 12 source: ./../../examples 13 target: /examples 14
あなたの回答
tips
プレビュー