docker.io/dperson/samba:armhf linux/arm

docker.io/dperson/samba:armhf - 国内下载镜像源 浏览次数:10 温馨提示: 这是一个 linux/arm 系统架构镜像

这是一个基于 Samba 服务器的 Docker 镜像,由用户 dperson 创建并发布到 Docker Hub。

源镜像 docker.io/dperson/samba:armhf
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64
镜像ID sha256:86fd73de81cf6974a24bac6fe030033fcca1c326550c48eef646c416a57a51eb
镜像TAG armhf-linuxarm64
大小 54.77MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /sbin/tini -- /usr/bin/samba.sh
工作目录
OS/平台 linux/arm
浏览量 10 次
贡献者
镜像创建 2021-07-30T17:53:54.526134361Z
同步时间 2026-02-07 17:37
开放端口
137/udp 138/udp 139/tcp 445/tcp
目录挂载
/etc /run/samba /var/cache/samba /var/lib/samba /var/log/samba
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64  docker.io/dperson/samba:armhf

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64  docker.io/dperson/samba:armhf

Shell快速替换命令

sed -i 's#dperson/samba:armhf#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64  docker.io/dperson/samba:armhf'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64  docker.io/dperson/samba:armhf'

镜像构建历史


# 2021-07-31 01:53:54  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/sbin/tini" "--" "/usr/bin/samba.sh"]
                        
# 2021-07-31 01:53:54  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/etc /var/cache/samba /var/lib/samba /var/log/samba /run/samba]
                        
# 2021-07-31 01:53:54  0.00B 指定检查容器健康状态的命令
HEALTHCHECK &{["CMD-SHELL" "smbclient -L \\\\localhost -U % -m SMB3"] "1m0s" "15s" "0s" '\x00'}
                        
# 2021-07-31 01:53:54  0.00B 声明容器运行时监听的端口
EXPOSE map[137/udp:{} 138/udp:{} 139/tcp:{} 445/tcp:{}]
                        
# 2021-07-31 01:53:54  10.86KB 复制新文件或目录到容器中
COPY samba.sh /usr/bin/ # buildkit
                        
# 2021-07-31 01:53:54  40.97MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk --no-cache --no-progress upgrade &&     apk --no-cache --no-progress add bash samba shadow tini tzdata &&     addgroup -S smb &&     adduser -S -D -H -h /tmp -s /sbin/nologin -G smb -g 'Samba User' smbuser &&    file="/etc/samba/smb.conf" &&     sed -i 's|^;* *\(log file = \).*|   \1/dev/stdout|' $file &&     sed -i 's|^;* *\(load printers = \).*|   \1no|' $file &&     sed -i 's|^;* *\(printcap name = \).*|   \1/dev/null|' $file &&     sed -i 's|^;* *\(printing = \).*|   \1bsd|' $file &&     sed -i 's|^;* *\(unix password sync = \).*|   \1no|' $file &&     sed -i 's|^;* *\(preserve case = \).*|   \1yes|' $file &&     sed -i 's|^;* *\(short preserve case = \).*|   \1yes|' $file &&     sed -i 's|^;* *\(default case = \).*|   \1lower|' $file &&     sed -i '/Share Definitions/,$d' $file &&     echo '   pam password change = yes' >>$file &&     echo '   map to guest = bad user' >>$file &&     echo '   usershare allow guests = yes' >>$file &&     echo '   create mask = 0664' >>$file &&     echo '   force create mode = 0664' >>$file &&     echo '   directory mask = 0775' >>$file &&     echo '   force directory mode = 0775' >>$file &&     echo '   force user = smbuser' >>$file &&     echo '   force group = smb' >>$file &&     echo '   follow symlinks = yes' >>$file &&     echo '   load printers = no' >>$file &&     echo '   printing = bsd' >>$file &&     echo '   printcap name = /dev/null' >>$file &&     echo '   disable spoolss = yes' >>$file &&     echo '   strict locking = no' >>$file &&     echo '   aio read size = 0' >>$file &&     echo '   aio write size = 0' >>$file &&     echo '   vfs objects = catia fruit recycle streams_xattr' >>$file &&     echo '   recycle:keeptree = yes' >>$file &&     echo '   recycle:maxsize = 0' >>$file &&     echo '   recycle:repository = .deleted' >>$file &&     echo '   recycle:versions = yes' >>$file &&     echo '' >>$file &&     echo '   # Security' >>$file &&     echo '   client ipc max protocol = SMB3' >>$file &&     echo '   client ipc min protocol = SMB2_10' >>$file &&     echo '   client max protocol = SMB3' >>$file &&     echo '   client min protocol = SMB2_10' >>$file &&     echo '   server max protocol = SMB3' >>$file &&     echo '   server min protocol = SMB2_10' >>$file &&     echo '' >>$file &&     echo '   # Time Machine' >>$file &&     echo '   fruit:delete_empty_adfiles = yes' >>$file &&     echo '   fruit:time machine = yes' >>$file &&     echo '   fruit:veto_appledouble = no' >>$file &&     echo '   fruit:wipe_intentionally_left_blank_rfork = yes' >>$file &&     echo '' >>$file &&     rm -rf /tmp/* # buildkit
                        
# 2021-07-31 01:53:54  0.00B 
MAINTAINER David Personette <dperson@gmail.com>
                        
# 2021-07-31 01:53:42  8.99MB 复制新文件或目录到容器中
COPY qemu-arm-static /usr/bin/ # buildkit
                        
# 2021-07-31 01:49:42  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2021-07-31 01:49:42  4.80MB 
/bin/sh -c #(nop) ADD file:c80bc2b093cbc0fc466582ef21cbed377de9fa874aedbf320079525ddacd1200 in / 
                        
                    

镜像信息

{
    "Id": "sha256:86fd73de81cf6974a24bac6fe030033fcca1c326550c48eef646c416a57a51eb",
    "RepoTags": [
        "dperson/samba:armhf",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:armhf-linuxarm64"
    ],
    "RepoDigests": [
        "dperson/samba@sha256:ba2b01e5a3298c5a743bc38d3c98407fc39d23a2fe4044308d9fa1f64d8c1e53",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba@sha256:ba2b01e5a3298c5a743bc38d3c98407fc39d23a2fe4044308d9fa1f64d8c1e53"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2021-07-30T17:53:54.526134361Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "David Personette \u003cdperson@gmail.com\u003e",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "137/udp": {},
            "138/udp": {},
            "139/tcp": {},
            "445/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": null,
        "Healthcheck": {
            "Test": [
                "CMD-SHELL",
                "smbclient -L \\\\localhost -U % -m SMB3"
            ],
            "Interval": 60000000000,
            "Timeout": 15000000000
        },
        "Image": "",
        "Volumes": {
            "/etc": {},
            "/run/samba": {},
            "/var/cache/samba": {},
            "/var/lib/samba": {},
            "/var/log/samba": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "/sbin/tini",
            "--",
            "/usr/bin/samba.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "arm",
    "Variant": "v7",
    "Os": "linux",
    "Size": 54771784,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/94d387e9553d863bf94d5935ddee62343cd67fe1a5210a354b0e12fd364fca53/diff:/var/lib/docker/overlay2/88086113260ed755db1013fcf50f0169428e11c2fc72614c55db01a3ad3b1f0d/diff:/var/lib/docker/overlay2/7866e1a2bf24f25f179dbefcbcea808d3ad184dc6d4047da00db2d52f04790ce/diff",
            "MergedDir": "/var/lib/docker/overlay2/26a1f1a7e5f7f3e2611793beda7aaa8ca86ed4ba83a09d1ea97c9b8dd4270e3d/merged",
            "UpperDir": "/var/lib/docker/overlay2/26a1f1a7e5f7f3e2611793beda7aaa8ca86ed4ba83a09d1ea97c9b8dd4270e3d/diff",
            "WorkDir": "/var/lib/docker/overlay2/26a1f1a7e5f7f3e2611793beda7aaa8ca86ed4ba83a09d1ea97c9b8dd4270e3d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:400786ca5ed00f7550fbac5520211b5bf3bb8eaff18d274b9eae6fe6e4121f89",
            "sha256:ace7909f1f1377fef85611a29e7efb83941f8355c68e50d343b422a5639c7b86",
            "sha256:27a7cf7511803ebeddb3ef5d43385992339aa921c2ac83c495f50056513fff16",
            "sha256:3c43712a6d251ba2dd5599e5aa9a7ba2b0dc442a06c6bf16da6f818d102e5efe"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-02-07T17:37:43.538925107+08:00"
    }
}

更多版本

docker.io/dperson/samba:latest

linux/amd64 docker.io52.07MB2025-06-14 23:57
930

docker.io/dperson/samba:latest

linux/arm64 docker.io58.13MB2025-07-30 23:56
236

docker.io/dperson/samba:armhf

linux/arm docker.io54.77MB2026-02-07 17:37
9