docker.io/strapi/strapi:latest linux/amd64
docker.io/strapi/strapi:latest - 国内下载镜像源 浏览次数:191
温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像
Strapi 容器镜像
这是一个由 Strapi 官方提供的 Docker 镜像,用于运行 Strapi 应用程序。它包含了 Strapi 的所有必要依赖和配置,方便用户快速搭建和部署 Strapi 项目。
该镜像基于 Node.js 运行环境,并预装了 Strapi 的所有依赖库。用户可以通过该镜像快速创建和运行 Strapi 项目,无需手动安装依赖。
源镜像 | docker.io/strapi/strapi:latest |
国内镜像 | swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest |
镜像ID | sha256:2b42b61d6f76e1455d4abc112c22868dfd37258a0bacb8e9ae9fed72170b7f93 |
镜像TAG | latest |
大小 | 1.02GB |
镜像源 | docker.io |
项目信息 | Docker-Hub主页 🚀项目TAG 🚀 |
CMD | strapi develop |
启动入口 | docker-entrypoint.sh |
工作目录 | /srv/app |
OS/平台 | linux/amd64 |
浏览量 | 191 次 |
贡献者 | |
镜像创建 | 2021-08-24T09:09:41.2588101Z |
同步时间 | 2024-09-24 19:05 |
更新时间 | 2025-04-06 10:30 |
镜像安全扫描 查看Trivy扫描报告
系统OS: debian 9.13 扫描引擎: Trivy 扫描时间: 2024-10-27 20:39
低危漏洞:441
Docker拉取命令
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest docker.io/strapi/strapi:latest
Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest docker.io/strapi/strapi:latest
Shell快速替换命令
sed -i 's#strapi/strapi:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest#' deployment.yaml
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest docker.io/strapi/strapi:latest'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest docker.io/strapi/strapi:latest'
镜像构建历史
# 2021-08-24 17:09:41 0.00B 设置默认要执行的命令
CMD ["strapi" "develop"]
# 2021-08-24 17:09:41 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
# 2021-08-24 17:09:41 847.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
# 2021-08-24 17:09:41 0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/srv/app]
# 2021-08-24 17:09:41 0.00B 设置工作目录为/srv/app
WORKDIR /srv/app
# 2021-08-24 17:09:41 0.00B 执行命令并创建新的镜像层
RUN |1 STRAPI_VERSION=3.6.8 /bin/sh -c mkdir /srv/app && chown 1000:1000 -R /srv/app # buildkit
# 2021-08-24 17:09:40 81.26MB 执行命令并创建新的镜像层
RUN |1 STRAPI_VERSION=3.6.8 /bin/sh -c yarn global add strapi@${STRAPI_VERSION} # buildkit
# 2021-08-24 17:09:40 0.00B 定义构建参数
ARG STRAPI_VERSION
# 2021-02-24 05:30:16 0.00B 声明容器运行时监听的端口
EXPOSE map[1337/tcp:{}]
# 2021-02-24 05:30:16 0.00B
/bin/sh -c #(nop) CMD ["node"]
# 2021-02-24 05:30:15 0.00B
/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
# 2021-02-24 05:30:15 116.00B
/bin/sh -c #(nop) COPY file:238737301d47304174e4d24f4def935b29b3069c03c72ae8de97d94624382fce in /usr/local/bin/
# 2021-02-24 05:30:14 7.76MB
/bin/sh -c set -ex && for key in 6A010C5166006599AA17F08146C2130DFD2497F5 ; do gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" || gpg --batch --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; done && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && mkdir -p /opt && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && yarn --version
# 2021-02-24 05:30:09 0.00B
/bin/sh -c #(nop) ENV YARN_VERSION=1.22.5
# 2021-02-24 05:30:08 99.55MB
/bin/sh -c ARCH= && dpkgArch="$(dpkg --print-architecture)" && case "${dpkgArch##*-}" in amd64) ARCH='x64';; ppc64el) ARCH='ppc64le';; s390x) ARCH='s390x';; arm64) ARCH='arm64';; armhf) ARCH='armv7l';; i386) ARCH='x86';; *) echo "unsupported architecture"; exit 1 ;; esac && set -ex && for key in 4ED778F539E3634C779C87C6D7062848A1AB005C 94AE36675C464D64BAFA68DD7434390BDBE9B9C5 74F12602B6F1C4E913FAA37AD3A89613643B6201 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C DD8F2338BAE7501E3DD5AC78C273792F7D83545D A48C2BEE680E841632CD4E44F07496B3EB3C1762 108F52B48DB57BB0CC439B2997B01419BD92F80A B9E2F5981AA6E0CD28160D9FF13993A75599653C ; do gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" || gpg --batch --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; done && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc && grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt && ln -s /usr/local/bin/node /usr/local/bin/nodejs && node --version && npm --version
# 2021-02-24 05:29:52 0.00B
/bin/sh -c #(nop) ENV NODE_VERSION=14.16.0
# 2021-02-10 02:39:20 333.39KB
/bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
# 2021-02-09 12:41:52 561.27MB
/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev $( if apt-cache show 'default-libmysqlclient-dev' 2>/dev/null | grep -q '^Version:'; then echo 'default-libmysqlclient-dev'; else echo 'libmysqlclient-dev'; fi ) ; rm -rf /var/lib/apt/lists/*
# 2021-02-09 12:40:31 141.22MB
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzr git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
# 2021-02-09 12:39:57 7.82MB
/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
# 2021-02-09 12:39:49 24.02MB
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apt-transport-https ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
# 2021-02-09 10:23:14 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2021-02-09 10:23:13 100.66MB
/bin/sh -c #(nop) ADD file:e1e13145e23f170f2d55444019a2d18a8cecd6209bba9f4295a35632ad53fdde in /
镜像信息
{
"Id": "sha256:2b42b61d6f76e1455d4abc112c22868dfd37258a0bacb8e9ae9fed72170b7f93",
"RepoTags": [
"strapi/strapi:latest",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi:latest"
],
"RepoDigests": [
"strapi/strapi@sha256:be2aa1b207c74474319873d2a343c572e17273f5c3017c308c4a21bd6e1992e9",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/strapi/strapi@sha256:be2aa1b207c74474319873d2a343c572e17273f5c3017c308c4a21bd6e1992e9"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2021-08-24T09:09:41.2588101Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"1337/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=14.16.0",
"YARN_VERSION=1.22.5"
],
"Cmd": [
"strapi",
"develop"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": {
"/srv/app": {}
},
"WorkingDir": "/srv/app",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1023889195,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/4ecacb37acf16578e4de76fd6c1bd4184caa6e5ced40f8c1ad465a1c5f41461d/diff:/var/lib/docker/overlay2/1f892a0cfa22e2f182d7df3b3d2e726f80270e6dd0efaecbbf381321d30fc574/diff:/var/lib/docker/overlay2/88bd5db1764ff4325091544e073317781a127e0193a47cd5841e0dc234aec88a/diff:/var/lib/docker/overlay2/2854e8b9f228304a0ed50bd6ee00a9b831c033458e9b949af11042741e074fd9/diff:/var/lib/docker/overlay2/2ffb299dad9efd34b056133039eafd8e130dfd450ade698b8b64c219371957ea/diff:/var/lib/docker/overlay2/ea7e61891995387fc7a3d1b759a2e21285d0b810146b9d3f1266176360d9f611/diff:/var/lib/docker/overlay2/b9a993ac0080292da98e43ddf0265bc9aea65073b4c0ccc865d19eebab8f43dd/diff:/var/lib/docker/overlay2/3b1d8bedce37486bfc8979b64092991ea9705608782899b435edfa2575ded85a/diff:/var/lib/docker/overlay2/6a2b99e304232e6aa5d5307e12ee2901f8099dba87d1ed8291a59ae1dc3ccbe6/diff:/var/lib/docker/overlay2/ce7937c3b4b3928c27dd563b6f8535a02e5d4a53eb9fe8e608a3c9b338f6974c/diff:/var/lib/docker/overlay2/6b542e70463408547d8805404bd07faa02500c88b98c055476a9ad22947301e9/diff:/var/lib/docker/overlay2/42d6ca3b90e1d4ccca3e966c0797e7b854c96abd26997b1b918100c71daf366e/diff",
"MergedDir": "/var/lib/docker/overlay2/05296a954a15e48cee6c2f510c22c4ccfec4ccba620d1892974e926a052b1fe4/merged",
"UpperDir": "/var/lib/docker/overlay2/05296a954a15e48cee6c2f510c22c4ccfec4ccba620d1892974e926a052b1fe4/diff",
"WorkDir": "/var/lib/docker/overlay2/05296a954a15e48cee6c2f510c22c4ccfec4ccba620d1892974e926a052b1fe4/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:e891be0c59b22a3ba63e39c38b5d40a9f400973776b20561775c6bbfd29340f0",
"sha256:2b3e667f5e92ec2e7da3a8df9bd3d589e8030ff459c40d27169a7c23a0df5f94",
"sha256:846bd2f3b2162ce558dc4d61f2421335941e5c87e570f72ddaba42e0775a33b8",
"sha256:601f048502012735413d40e9f9d5e9bf49c1603e5c661bb17594688427009c15",
"sha256:4ca605ea46de830eb8bc95139700d4747b18b0e11af20d0f1cba50c76eb48513",
"sha256:9b88fe065b351af242b344d6cb05304cb7f30d96a62258b853d99898f30d814e",
"sha256:429965006bfeb80041b600e4af3c3d6d0f576bb9506a3fbcd77d98a33e28a356",
"sha256:f6d99686b622462877ccb1d9c1150ae6681debbfbd0d756d08ed261cc92ce1f3",
"sha256:d44b6d1925f6dc9967d897c755ea8f440fc7e1977504c200c9e6eb0c3e0cf478",
"sha256:8e22a33ccb80f9395997149c9815cb1a9724385b5590f6e172ca105be3c8645b",
"sha256:0a3dc247da1c0bc24c966846260fd4130a75b20724d83b401091262a330a1d81",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:cfbcd467c0aa7a8af48dc2fc08043326a4ef6f64d02f00b7ef4418207e20eb92"
]
},
"Metadata": {
"LastTagTime": "2024-09-24T19:04:46.348632147+08:00"
}
}
更多版本
docker.io/strapi/strapi:latest