小编BBJ*_*BJ3的帖子

“date -d”命令在 Docker Alpine Linux 容器上失败

我使用以下 Dockerfile在Docker 容器中构建了Alpine Linux

FROM alpine:3.2
RUN apk add --update jq curl && rm -rf /var/cache/apk/*
Run Code Online (Sandbox Code Playgroud)

构建运行成功:

$ docker build -t collector .
Sending build context to Docker daemon 2.048 kB
Sending build context to Docker daemon 
Step 0 : FROM alpine:3.2
3.2: Pulling from alpine
8697b6cc1f48: Already exists 
alpine:3.2: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
Digest: …
Run Code Online (Sandbox Code Playgroud)

linux date container docker alpine-linux

22
推荐指数
3
解决办法
2万
查看次数

标签 统计

alpine-linux ×1

container ×1

date ×1

docker ×1

linux ×1