docker(75)今日のdocker warning: No package 'libunwind-generic' found

curlのHTTP/3通信をDocker上で使ってみる
https://qiita.com/inductor/items/8d1bc0e95b71e814dbcf

のDockerfileをbuildした際の警告など。

下記は赤字で表示の部分のみを抽出した。
なお、赤字の警告の前の黒字の項目が関連する場合は掲載している。

警告以外に、実行結果を赤字で表示している場合もある。

各警告の目的と対策は今後。

```shell-session:macOS
$ docker build -t="kaizenjapan/http3" .
...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
...
debconf: delaying package configuration, since apt-utils is not installed
...
Cloning into 'quiche'...
Submodule 'boringssl' (https://boringssl.googlesource.com/boringssl) registered for path 'deps/boringssl'
Cloning into '/root/quiche/deps/boringssl'...
...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
...
debconf: delaying package configuration, since apt-utils is not installed
...
--   No package 'libunwind-generic' found
libunwind not found. Disabling unwind tests.
...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
...
debconf: delaying package configuration, since apt-utils is not installed
...
--2019-08-31 12:43:29--  https://sh.rustup.rs/
Resolving sh.rustup.rs (sh.rustup.rs)... 99.86.199.25, 99.86.199.36, 99.86.199.103, ...
Connecting to sh.rustup.rs (sh.rustup.rs)|99.86.199.25|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10652 (10K) [text/x-sh]
Saving to: 'install.sh'

     0K ..........                                            100% 5.12M=0.002s

2019-08-31 12:43:29 (5.12 MB/s) - 'install.sh' saved [10652/10652]

info: downloading installer
--2019-08-31 12:43:29--  https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init
Resolving static.rust-lang.org (static.rust-lang.org)... 99.86.199.5, 99.86.199.16, 99.86.199.34, ...
Connecting to static.rust-lang.org (static.rust-lang.org)|99.86.199.5|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10734264 (10M) [binary/octet-stream]
Saving to: '/tmp/tmp.DT528uOfef/rustup-init'

     0K .......... .......... .......... .......... ..........  0% 49.3K 3m32s
    50K .......... .......... .......... .......... ..........  0% 37.7M 1m46s
   100K .......... .......... .......... .......... ..........  1% 11.4M 70s
   150K .......... .......... .......... .......... ..........  1% 12.8M 53s
   200K .......... .......... .......... .......... ..........  2% 20.6M 42s
   250K .......... .......... .......... .......... ..........  2% 22.4M 35s
   300K .......... .......... .......... .......... ..........  3% 20.3M 30s
   350K .......... .......... .......... .......... ..........  3% 16.7M 26s
   400K .......... .......... .......... .......... ..........  4% 8.68M 23s
   450K .......... .......... .......... .......... ..........  4% 11.7M 21s
   500K .......... .......... .......... .......... ..........  5% 20.8M 19s
   550K .......... .......... .......... .......... ..........  5% 12.0M 17s
   600K .......... .......... .......... .......... ..........  6% 13.2M 16s
   650K .......... .......... .......... .......... ..........  6% 13.1M 15s
   700K .......... .......... .......... .......... ..........  ...
 10400K .......... .......... .......... .......... .......... 99% 8.37M 0s
 10450K .......... .......... .......... ..                   100% 44.7M=2.1s

2019-08-31 12:43:31 (4.96 MB/s) - '/tmp/tmp.DT528uOfef/rustup-init' saved [10734264/10734264]

info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2019-08-15, rust version 1.37.0 (eae3437df 2019-08-13)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: installing component 'rust-docs'
info: default toolchain set to 'stable'
...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
...
    Updating crates.io index
 Downloading crates ...
  Downloaded lazy_static v1.4.0
  Downloaded libc v0.2.62
  Downloaded log v0.4.8
  Downloaded cmake v0.1.42
  Downloaded cfg-if v0.1.9
  Downloaded cc v1.0.41
  Downloaded ring v0.16.9
  Downloaded untrusted v0.7.0
  Downloaded spin v0.5.2
   Compiling libc v0.2.62
   Compiling cc v1.0.41
   Compiling log v0.4.8
   Compiling lazy_static v1.4.0
   Compiling spin v0.5.2
   Compiling cfg-if v0.1.9
   Compiling untrusted v0.7.0
   Compiling ring v0.16.9
   Compiling cmake v0.1.42
   Compiling quiche v0.1.0-alpha4 (/root/quiche)
    Finished release [optimized + debuginfo] target(s) in 1m 24s
...
Cloning into 'curl'...
...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
...
debconf: delaying package configuration, since apt-utils is not installed
...
configure.ac:132: installing './compile'
configure.ac:191: installing './config.guess'
configure.ac:191: installing './config.sub'
configure.ac:132: installing './install-sh'
configure.ac:137: installing './missing'
docs/examples/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
...
checking for LDAP libraries... cannot find LDAP libraries
configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled
...
configure: WARNING: OpenSSL headers and library versions do not match.
...
checking for RTMP_Init in -lrtmp... configure: WARNING: libpsl was not found
no
...
configure: WARNING: Cannot find libraries for IDN support: IDN disabled
...
configure: WARNING: disabling built-in manual
...
  WARNING:  HTTP3 enabled but marked EXPERIMENTAL. Use with caution!
...
```


```
$ docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                     PORTS                    NAMES
ab316897c2ed        kaizenjapan/http3   "/bin/bash"         13 minutes ago      Up 13 minutes                                       recursing_newton

$ $ docker  push kaizenjapan/http3
The push refers to repository [docker.io/kaizenjapan/http3]
```

### 最後までおよみいただきありがとうございました。

いいね　💚、フォローをお願いします。
#### Thank you very much for reading to the last sentence.

Please press the like icon 💚　and follow me for your happy life.