docker.io/wwfnle/nastools:latest linux/amd64

docker.io/wwfnle/nastools:latest - 国内下载镜像源 浏览次数:241

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

这个镜像名为docker.io/wwfnle/nastools,
描述信息:

NAStools 是一个基于 Docker 的集合,用于快速部署和测试网络应用程序。它提供了一个可重复性的环境,使开发人员可以专注于编码,而不用担心底层的依赖关系或配置问题。

镜像作者可能已经更新了镜像描述信息,
如果你想获取最新的镜像描述信息,请访问 docker官方网站。
源镜像 docker.io/wwfnle/nastools:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest
镜像ID sha256:af9f13c092a8f1926b404bcc9c334b61bf632aa239f3df4aa92ab2686e456aca
镜像TAG latest
大小 1.10GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /init
工作目录 /nas-tools
OS/平台 linux/amd64
浏览量 241 次
贡献者 ta****4@163.com
镜像创建 2024-04-17T12:30:16.62111578Z
同步时间 2024-09-07 11:39
更新时间 2025-01-16 15:45
开放端口
3000/tcp
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/chromium LANG=C.UTF-8 GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D PYTHON_VERSION=3.10.11 PYTHON_PIP_VERSION=23.0.1 PYTHON_SETUPTOOLS_VERSION=65.5.1 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207 S6_SERVICES_GRACETIME=30000 S6_KILL_GRACETIME=60000 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_SYNC_DISKS=1 HOME=/nt TERM=xterm TZ=Asia/Shanghai NASTOOL_CONFIG=/config/config.yaml NASTOOL_AUTO_UPDATE=false NASTOOL_CN_UPDATE=true NASTOOL_VERSION=master PS1=\u@\h:\w $ REPO_URL=https://github.com/hsuyelin/nas-tools.git PYPI_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple ALPINE_MIRROR=mirrors.ustc.edu.cn PUID=0 PGID=0 UMASK=000 PYTHONWARNINGS=ignore:semaphore_tracker:UserWarning WORKDIR=/nas-tools
镜像标签
2024-04-17T12:28:33.427Z: org.opencontainers.image.created NAS媒体库管理工具: org.opencontainers.image.description AGPL-3.0: org.opencontainers.image.licenses b679c5de1a2fe376993a6f0778e49e950f604866: org.opencontainers.image.revision https://github.com/hsuyelin/nas-tools: org.opencontainers.image.source nas-tools: org.opencontainers.image.title https://github.com/hsuyelin/nas-tools: org.opencontainers.image.url 3.4.0: org.opencontainers.image.version

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest  docker.io/wwfnle/nastools:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest  docker.io/wwfnle/nastools:latest

Shell快速替换命令

sed -i 's#wwfnle/nastools:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest  docker.io/wwfnle/nastools:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest  docker.io/wwfnle/nastools:latest'

镜像构建历史


# 2024-04-17 20:30:16  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/init"]
                        
# 2024-04-17 20:30:16  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/config]
                        
# 2024-04-17 20:30:16  0.00B 声明容器运行时监听的端口
EXPOSE map[3000/tcp:{}]
                        
# 2024-04-17 20:30:16  8.36KB 复制新文件或目录到容器中
COPY --chmod=755 ./rootfs / # buildkit
                        
# 2024-04-17 20:30:16  28.72MB 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir ${HOME}     && addgroup -S nt -g 911     && adduser -S nt -G nt -h ${HOME} -s /bin/bash -u 911     && python_ver=$(python3 -V | awk '{print $2}')     && python_path=$(which python3)     && [ -d "/usr/lib/python${python_ver%.*}/site-packages" ] || mkdir -p "/usr/lib/python${python_ver%.*}/site-packages"     && echo "${WORKDIR}/" > /usr/lib/python${python_ver%.*}/site-packages/nas-tools.pth     && echo 'fs.inotify.max_user_watches=5242880' >> /etc/sysctl.conf     && echo 'fs.inotify.max_user_instances=5242880' >> /etc/sysctl.conf     && echo "nt ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers     && git config --global pull.ff only     && git clone -b master ${REPO_URL} ${WORKDIR} --depth=1 --recurse-submodule     && git config --global --add safe.directory ${WORKDIR} # buildkit
                        
# 2024-04-17 20:30:15  0.00B 设置工作目录为/nas-tools
WORKDIR /nas-tools
                        
# 2024-04-17 20:30:15  0.00B 设置环境变量 S6_SERVICES_GRACETIME S6_KILL_GRACETIME S6_CMD_WAIT_FOR_SERVICES_MAXTIME S6_SYNC_DISKS HOME TERM PATH LANG TZ NASTOOL_CONFIG NASTOOL_AUTO_UPDATE NASTOOL_CN_UPDATE NASTOOL_VERSION PS1 REPO_URL PYPI_MIRROR ALPINE_MIRROR PUID PGID UMASK PYTHONWARNINGS WORKDIR
ENV S6_SERVICES_GRACETIME=30000 S6_KILL_GRACETIME=60000 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_SYNC_DISKS=1 HOME=/nt TERM=xterm PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/chromium LANG=C.UTF-8 TZ=Asia/Shanghai NASTOOL_CONFIG=/config/config.yaml NASTOOL_AUTO_UPDATE=false NASTOOL_CN_UPDATE=true NASTOOL_VERSION=master PS1=\u@\h:\w $  REPO_URL=https://github.com/hsuyelin/nas-tools.git PYPI_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple ALPINE_MIRROR=mirrors.ustc.edu.cn PUID=0 PGID=0 UMASK=000 PYTHONWARNINGS=ignore:semaphore_tracker:UserWarning WORKDIR=/nas-tools
                        
# 2024-04-17 20:30:15  1.02GB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache --virtual .build-deps         libffi-dev         gcc         musl-dev         libxml2-dev         libxslt-dev     && apk add --no-cache $(echo $(wget --no-check-certificate -qO- https://raw.githubusercontent.com/hsuyelin/nas-tools/master/package_list.txt))     && curl https://rclone.org/install.sh | bash     && if [ "$(uname -m)" = "x86_64" ]; then ARCH=amd64; elif [ "$(uname -m)" = "aarch64" ]; then ARCH=arm64; fi     && curl https://dl.min.io/client/mc/release/linux-${ARCH}/mc --create-dirs -o /usr/bin/mc     && chmod +x /usr/bin/mc     && pip install --upgrade pip setuptools wheel     && pip install cython     && pip install -r https://raw.githubusercontent.com/hsuyelin/nas-tools/master/requirements.txt     && apk del --purge .build-deps     && rm -rf /tmp/* /root/.cache /var/cache/apk/* # buildkit
                        
# 2023-05-10 18:10:11  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2023-05-10 18:10:11  11.02MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		wget -O get-pip.py "$PYTHON_GET_PIP_URL"; 	echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; 		export PYTHONDONTWRITEBYTECODE=1; 		python get-pip.py 		--disable-pip-version-check 		--no-cache-dir 		--no-compile 		"pip==$PYTHON_PIP_VERSION" 		"setuptools==$PYTHON_SETUPTOOLS_VERSION" 	; 	rm -f get-pip.py; 		pip --version # buildkit
                        
# 2023-05-10 18:10:11  0.00B 设置环境变量 PYTHON_GET_PIP_SHA256
ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207
                        
# 2023-05-10 18:10:11  0.00B 设置环境变量 PYTHON_GET_PIP_URL
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py
                        
# 2023-05-10 18:10:11  0.00B 设置环境变量 PYTHON_SETUPTOOLS_VERSION
ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
                        
# 2023-05-10 18:10:11  0.00B 设置环境变量 PYTHON_PIP_VERSION
ENV PYTHON_PIP_VERSION=23.0.1
                        
# 2023-05-10 18:10:11  32.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	for src in idle3 pydoc3 python3 python3-config; do 		dst="$(echo "$src" | tr -d 3)"; 		[ -s "/usr/local/bin/$src" ]; 		[ ! -e "/usr/local/bin/$dst" ]; 		ln -svT "$src" "/usr/local/bin/$dst"; 	done # buildkit
                        
# 2023-05-10 18:10:11  29.73MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		apk add --no-cache --virtual .build-deps 		gnupg 		tar 		xz 				bluez-dev 		bzip2-dev 		dpkg-dev dpkg 		expat-dev 		findutils 		gcc 		gdbm-dev 		libc-dev 		libffi-dev 		libnsl-dev 		libtirpc-dev 		linux-headers 		make 		ncurses-dev 		openssl-dev 		pax-utils 		readline-dev 		sqlite-dev 		tcl-dev 		tk 		tk-dev 		util-linux-dev 		xz-dev 		zlib-dev 	; 		wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; 	wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; 	GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; 	gpg --batch --verify python.tar.xz.asc python.tar.xz; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" python.tar.xz.asc; 	mkdir -p /usr/src/python; 	tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; 	rm python.tar.xz; 		cd /usr/src/python; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	./configure 		--build="$gnuArch" 		--enable-loadable-sqlite-extensions 		--enable-optimizations 		--enable-option-checking=fatal 		--enable-shared 		--with-lto 		--with-system-expat 		--without-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; 	LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:-}" 		"PROFILE_TASK=${PROFILE_TASK:-}" 	; 	rm python; 	make -j "$nproc" 		"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" 		"LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" 		"PROFILE_TASK=${PROFILE_TASK:-}" 		python 	; 	make install; 		cd /; 	rm -rf /usr/src/python; 		find /usr/local -depth 		\( 			\( -type d -a \( -name test -o -name tests -o -name idle_test \) \) 			-o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) 		\) -exec rm -rf '{}' + 	; 		find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' 		| tr ',' '\n' 		| sort -u 		| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' 		| xargs -rt apk add --no-network --virtual .python-rundeps 	; 	apk del --no-network .build-deps; 		python3 --version # buildkit
                        
# 2023-05-10 18:10:11  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.10.11
                        
# 2023-05-10 18:10:11  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
                        
# 2023-05-10 18:10:11  1.64MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apk add --no-cache 		ca-certificates 		tzdata 	; # buildkit
                        
# 2023-05-10 18:10:11  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2023-05-10 18:10:11  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2023-05-10 07:11:10  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2023-05-10 07:11:10  7.33MB 
/bin/sh -c #(nop) ADD file:7625ddfd589fb824ee39f1b1eb387b98f3676420ff52f26eb9d975151e889667 in / 
                        
                    

镜像信息

{
    "Id": "sha256:af9f13c092a8f1926b404bcc9c334b61bf632aa239f3df4aa92ab2686e456aca",
    "RepoTags": [
        "wwfnle/nastools:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools:latest"
    ],
    "RepoDigests": [
        "wwfnle/nastools@sha256:857dde13a7c848afd7f5f927cd2864d797382589ecd1b74e861f9b488328b5db",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/wwfnle/nastools@sha256:857dde13a7c848afd7f5f927cd2864d797382589ecd1b74e861f9b488328b5db"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-04-17T12:30:16.62111578Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "3000/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/chromium",
            "LANG=C.UTF-8",
            "GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D",
            "PYTHON_VERSION=3.10.11",
            "PYTHON_PIP_VERSION=23.0.1",
            "PYTHON_SETUPTOOLS_VERSION=65.5.1",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207",
            "S6_SERVICES_GRACETIME=30000",
            "S6_KILL_GRACETIME=60000",
            "S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0",
            "S6_SYNC_DISKS=1",
            "HOME=/nt",
            "TERM=xterm",
            "TZ=Asia/Shanghai",
            "NASTOOL_CONFIG=/config/config.yaml",
            "NASTOOL_AUTO_UPDATE=false",
            "NASTOOL_CN_UPDATE=true",
            "NASTOOL_VERSION=master",
            "PS1=\\u@\\h:\\w $ ",
            "REPO_URL=https://github.com/hsuyelin/nas-tools.git",
            "PYPI_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple",
            "ALPINE_MIRROR=mirrors.ustc.edu.cn",
            "PUID=0",
            "PGID=0",
            "UMASK=000",
            "PYTHONWARNINGS=ignore:semaphore_tracker:UserWarning",
            "WORKDIR=/nas-tools"
        ],
        "Cmd": null,
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/config": {}
        },
        "WorkingDir": "/nas-tools",
        "Entrypoint": [
            "/init"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2024-04-17T12:28:33.427Z",
            "org.opencontainers.image.description": "NAS媒体库管理工具",
            "org.opencontainers.image.licenses": "AGPL-3.0",
            "org.opencontainers.image.revision": "b679c5de1a2fe376993a6f0778e49e950f604866",
            "org.opencontainers.image.source": "https://github.com/hsuyelin/nas-tools",
            "org.opencontainers.image.title": "nas-tools",
            "org.opencontainers.image.url": "https://github.com/hsuyelin/nas-tools",
            "org.opencontainers.image.version": "3.4.0"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1099055847,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/4a3ed42acb29cab48a3cd5635eedc2893bee5508ca3b4ccd27cf61fb8fc2065b/diff:/var/lib/docker/overlay2/433a0dfcd6fc2c81ea427df272e359facc3fa8e14cdbacfbf7d57ebab29131c6/diff:/var/lib/docker/overlay2/1fd325b55c2f14607a48b540031dc8828af937b79af9e14856855990ead18479/diff:/var/lib/docker/overlay2/ea46c789d1efcae5b10d9a4d9b404b2c1d8b5c5cc6404487b4f744864d8750bc/diff:/var/lib/docker/overlay2/65bc3509ed47e4533f07a4c850932bfd33a97f8d4a4bb956a7c31f96b66ab5e0/diff:/var/lib/docker/overlay2/09e61838bddaaa7bb823bc9d942d0fdceab35f20eeda210653f57e6e8ded1025/diff:/var/lib/docker/overlay2/180d0ab2fcb16917bfc63b30b8ee2c951812aeec1e95e06c0c4e852870175c25/diff:/var/lib/docker/overlay2/769921ab0098f97f8c634586ca4a092afdcdb848ff5df136fa65dc45d4b68d2a/diff",
            "MergedDir": "/var/lib/docker/overlay2/ad55c4f553feb2e5028b8a32f4ee907bbd0fc00b7cb62ed9c1e3bd49c0e83f64/merged",
            "UpperDir": "/var/lib/docker/overlay2/ad55c4f553feb2e5028b8a32f4ee907bbd0fc00b7cb62ed9c1e3bd49c0e83f64/diff",
            "WorkDir": "/var/lib/docker/overlay2/ad55c4f553feb2e5028b8a32f4ee907bbd0fc00b7cb62ed9c1e3bd49c0e83f64/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:bb01bd7e32b58b6694c8c3622c230171f1cec24001a82068a8d30d338f420d6c",
            "sha256:208977ac81d79a33082babcb62e6971018ec28df3b7a2d7c8d1c4034251cfa1c",
            "sha256:3b787bd09f7a3cf8c4a4e493249d6cac80bc0b8667a37e1ae4686de3409a92a8",
            "sha256:00b0c44330bf698919fb7e0da81caf06599889c19bd7b4513d2a21e295ace714",
            "sha256:f288e3d33a08119a5f67dccafee544cb8b5117b59cb67f7d6c61f25d887a84e0",
            "sha256:369fe349891dbb21b0308c011335dd42e475d0d7cb29035122a82252d27716ef",
            "sha256:1e006166c17a8b8b26873f56904cae60703b510000e2fb5b57be351c214db6c7",
            "sha256:5c3d4dba09d6119e8c53e8fb57880ea1f19eaaef623e90605c118b309445ecb5",
            "sha256:46ecc0fd50195723142c898a81f6b938bd3d94ec2d2515f2bae27619cb058357"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-07T11:39:28.67790335+08:00"
    }
}

更多版本

docker.io/wwfnle/nastools:latest

linux/amd64 docker.io1.10GB2024-09-07 11:39
240