小编use*_*739的帖子

如何在 ubuntu docker 镜像上安装 tzdata?

我在 Dockerfile 中有以下行。

RUN apt-get install -y tzdata
Run Code Online (Sandbox Code Playgroud)

当我运行它时,它会询问我的输入。在我提供输入后,它挂在那里。有谁知道如何解决这个问题?

Step 25/25 : RUN apt-get install -y tzdata
 ---> Running in ee47a1beff84
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  tzdata
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 189 kB of archives.
After this operation, 3104 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 tzdata all 2018i-0ubuntu0.18.04 [189 kB]
debconf: unable …
Run Code Online (Sandbox Code Playgroud)

timezone docker

107
推荐指数
5
解决办法
9万
查看次数

标签 统计

docker ×1

timezone ×1