Docker-compose build Alpine image apk update fetch hangs

Alpine image apk update fetch hangs At apk –no-cache upgrade or RUN apk update no respone Try to login docker container run command line: wget http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz Get status is “stalled”. PS:Error is different “no respone” or “hang” Way one: Answer: apk fetch hangs https://github.com/gliderlabs/docker-alpine/issues/307 10G mtu or switch mtu So Into directory docker build --network host . Way two: Answer: https://mlohr.com/docker-mtu/ https://medium.com/@sylwit/how-we-spent-a-full-day-figuring-out-a-mtu-issue-with-docker-4d81fdfe2caf nano /etc/docker/daemon.json { "mtu": 1450 }

2019-04-02 · 1 min · 68 words · Me

[轉]HyperLedger Fabric 架构设计中的模式创新

https://www.chongdongshequ.com/article/1544005544333.html

2019-04-02 · 1 min · word · Me

flutter new hard

https://book.flutterchina.club/

2019-04-01 · 1 min · word · Me

flutter dart Streams Future

https://www.appcoda.com.tw/flutter-introduction/ Dart 內建支援 Streams 及 Future。我的 RxJava 經驗有助我了解 Streams,而在 ES6 Promise 方面的經驗則有助我理解 Futures 和 Async/Await 的概念

2019-04-01 · 1 min · 16 words · Me

flutter printing

https://github.com/DavBfr/dart_pdf/tree/master/printing/example/lib Problem is here. image: const fw.NetworkImage('https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&s=200'), Change to import 'package:flutter/painting.dart' as fp; find this and change image: new fp.AssetImage("images/a123.png"), OK~

2019-04-01 · 1 min · 21 words · Me