docker.io/easzlab/json-mock:v1.3.0 linux/amd64

docker.io/easzlab/json-mock:v1.3.0 - 国内下载镜像源 浏览次数:15
```html

这是一个提供JSON Mock数据的Docker镜像。它可以方便地生成各种格式的JSON数据,用于测试或开发用途。

```
源镜像 docker.io/easzlab/json-mock:v1.3.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0
镜像ID sha256:4c3c474a647cd5e838cc052b6a5b6c32602bc5adc29c79f545762e23d9dae4d8
镜像TAG v1.3.0
大小 262.11MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 bash /run.sh
工作目录
OS/平台 linux/amd64
浏览量 15 次
贡献者
镜像创建 2022-10-08T10:47:25.373697144Z
同步时间 2024-11-18 09:20
更新时间 2024-11-20 19:20
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=18.10.0 YARN_VERSION=1.22.19
镜像标签
2022-10-08T10:46:53.739Z: org.opencontainers.image.created : org.opencontainers.image.description Apache-2.0: org.opencontainers.image.licenses 228a510b71cf5296f0b33348ed5a71e1713ad3c7: org.opencontainers.image.revision https://github.com/easzlab/dockerfile-kubeasz-mirrored-images: org.opencontainers.image.source dockerfile-kubeasz-mirrored-images: org.opencontainers.image.title https://github.com/easzlab/dockerfile-kubeasz-mirrored-images: org.opencontainers.image.url v1.3.0: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.5 扫描引擎: Trivy 扫描时间: 2024-11-18 09:21

低危漏洞:111 中危漏洞:88 高危漏洞:83 严重漏洞:13

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0  docker.io/easzlab/json-mock:v1.3.0

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0  docker.io/easzlab/json-mock:v1.3.0

Shell快速替换命令

sed -i 's#easzlab/json-mock:v1.3.0#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0  docker.io/easzlab/json-mock:v1.3.0'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0  docker.io/easzlab/json-mock:v1.3.0'

镜像历史

大小 创建时间 层信息
0.00B 2022-10-08 18:47:25 CMD []
0.00B 2022-10-08 18:47:25 ENTRYPOINT ["bash" "/run.sh"]
477.00B 2022-10-08 18:47:25 ADD run.sh default.json / # buildkit
21.47MB 2022-10-08 18:47:25 RUN /bin/sh -c npm install -g json-server && apt-get update && apt-get upgrade -y && apt-get install -y curl && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2022-10-05 21:13:06 /bin/sh -c #(nop) CMD ["node"]
0.00B 2022-10-05 21:13:05 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
388.00B 2022-10-05 21:13:05 /bin/sh -c #(nop) COPY file:4d192565a7220e135cab6c77fbc1c73211b69f3d9fb37e62857b2c6eb9363d51 in /usr/local/bin/
9.51MB 2022-10-05 21:13:05 /bin/sh -c set -ex && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr --no-install-recommends && rm -rf /var/lib/apt/lists/* && for key in 6A010C5166006599AA17F08146C2130DFD2497F5 ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --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 && apt-mark auto '.*' > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; } && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && yarn --version
0.00B 2022-10-05 21:12:53 /bin/sh -c #(nop) ENV YARN_VERSION=1.22.19
150.27MB 2022-10-05 21:12:52 /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 && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr xz-utils libatomic1 --no-install-recommends && rm -rf /var/lib/apt/lists/* && for key in 4ED778F539E3634C779C87C6D7062848A1AB005C 141F07595B7B3FFE74309A937405533BE57C7D57 94AE36675C464D64BAFA68DD7434390BDBE9B9C5 74F12602B6F1C4E913FAA37AD3A89613643B6201 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 61FC681DFB92A079F1685E77973F295594EC4689 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C DD8F2338BAE7501E3DD5AC78C273792F7D83545D A48C2BEE680E841632CD4E44F07496B3EB3C1762 108F52B48DB57BB0CC439B2997B01419BD92F80A B9E2F5981AA6E0CD28160D9FF13993A75599653C ; do gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" || gpg --batch --keyserver keyserver.ubuntu.com --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 && apt-mark auto '.*' > /dev/null && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && ln -s /usr/local/bin/node /usr/local/bin/nodejs && node --version && npm --version
0.00B 2022-10-05 21:12:24 /bin/sh -c #(nop) ENV NODE_VERSION=18.10.0
333.49KB 2022-10-05 21:12:24 /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
0.00B 2022-10-05 07:26:39 /bin/sh -c #(nop) CMD ["bash"]
80.52MB 2022-10-05 07:26:39 /bin/sh -c #(nop) ADD file:b78b777208be08edd8f297035cdfbacddb45170ad778fd643c792ee045187e39 in /

镜像信息

{
    "Id": "sha256:4c3c474a647cd5e838cc052b6a5b6c32602bc5adc29c79f545762e23d9dae4d8",
    "RepoTags": [
        "easzlab/json-mock:v1.3.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock:v1.3.0"
    ],
    "RepoDigests": [
        "easzlab/json-mock@sha256:eedab72f442958c741d142f73b28bb667ad17ef4d2b883d54b02914a01d84fb0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/easzlab/json-mock@sha256:9f49f25c7c5a81896b66d83156d0f3e1783fc0f4ad627d83258fd0dd7ef6b870"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2022-10-08T10:47:25.373697144Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NODE_VERSION=18.10.0",
            "YARN_VERSION=1.22.19"
        ],
        "Cmd": null,
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": [
            "bash",
            "/run.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2022-10-08T10:46:53.739Z",
            "org.opencontainers.image.description": "",
            "org.opencontainers.image.licenses": "Apache-2.0",
            "org.opencontainers.image.revision": "228a510b71cf5296f0b33348ed5a71e1713ad3c7",
            "org.opencontainers.image.source": "https://github.com/easzlab/dockerfile-kubeasz-mirrored-images",
            "org.opencontainers.image.title": "dockerfile-kubeasz-mirrored-images",
            "org.opencontainers.image.url": "https://github.com/easzlab/dockerfile-kubeasz-mirrored-images",
            "org.opencontainers.image.version": "v1.3.0"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 262109687,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/d406461c6e8b5341ee52c387d96cf6771fc0efd1ea204015fb4b5479dfbc0902/diff:/var/lib/docker/overlay2/bdb5cb754722d8518bcac19da2ad58ab2ae756a10b12d82e1e2b4697bf77537f/diff:/var/lib/docker/overlay2/54ab048bc1e24f41a0da7de31e2f4fc9e6ead1af87246b44d749f2257038aabf/diff:/var/lib/docker/overlay2/3bd9305574e516e3be117f52c0e83a71c61bede0a102c2327c3bc93d1d2847bd/diff:/var/lib/docker/overlay2/0100b7582258b67623c386fdf93f326fa0fbc39baeed60ee601b12f812f3bd5e/diff:/var/lib/docker/overlay2/a7f96700f7d2c319f039739477fcda79787ef5466e7881946b5981ca9fb1a5c3/diff",
            "MergedDir": "/var/lib/docker/overlay2/38feb4487b5775b84a0340d822cf075c486eb9980498b2acb2ce5ad218ba791b/merged",
            "UpperDir": "/var/lib/docker/overlay2/38feb4487b5775b84a0340d822cf075c486eb9980498b2acb2ce5ad218ba791b/diff",
            "WorkDir": "/var/lib/docker/overlay2/38feb4487b5775b84a0340d822cf075c486eb9980498b2acb2ce5ad218ba791b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:fe7b1e9bf7922fbc22281bcc6b4f5ac8f1a7b4278929880940978c42fc9d0229",
            "sha256:e90e84f50ac864e6fc350a401f6f71531af322176748b706384d984091bff88f",
            "sha256:7ad55b9e4ec7cfbc089d6091f31bccf46a569338fd6b66827844cb7104bfc0f6",
            "sha256:eea7bb4cece060a8a481aa96595b609764e5cf7882543d7de23b2fd20b9676f4",
            "sha256:92667816bfc2d753b515b6bc3f383bffba8a25f470c0b61110ba3cbe0f199410",
            "sha256:8ffeb4c7acba8d27c5a14e969103423b4bd1f86984e88fe15e050e92752d5938",
            "sha256:cbde6682330a08fa031ed9a542a5ac8344fa597d032ec77a95580a6706ed47d4"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-18T09:19:58.973273956+08:00"
    }
}

更多版本

docker.io/easzlab/json-mock:v1.3.0

linux/amd64 docker.io262.11MB2024-11-18 09:20
14