docker.io/dperson/samba:latest linux/amd64

docker.io/dperson/samba:latest - 国内下载镜像源 浏览次数:10

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

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

源镜像 docker.io/dperson/samba:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:latest
镜像ID sha256:aac8a52c5b16558f44d5fa6595a30d6c86d102fedec4f86629c6253cc41f0404
镜像TAG latest
大小 52.07MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /sbin/tini -- /usr/bin/samba.sh
工作目录
OS/平台 linux/amd64
浏览量 10 次
贡献者
镜像创建 2020-07-03T22:25:13.576851395Z
同步时间 2025-06-14 23:57
更新时间 2025-06-15 11: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:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:latest  docker.io/dperson/samba:latest

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2020-07-04 06:25:13  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["/sbin/tini" "--" "/usr/bin/samba.sh"]
                        
# 2020-07-04 06:25:13  0.00B 
/bin/sh -c #(nop)  VOLUME [/etc /var/cache/samba /var/lib/samba /var/log/samba /run/samba]
                        
# 2020-07-04 06:25:12  0.00B 
/bin/sh -c #(nop)  HEALTHCHECK &{["CMD-SHELL" "smbclient -L \\\\localhost -U % -m SMB3"] "1m0s" "15s" "0s" '\x00'}
                        
# 2020-07-04 06:25:12  0.00B 
/bin/sh -c #(nop)  EXPOSE 137/udp 138/udp 139 445
                        
# 2020-07-04 06:25:12  10.86KB 
/bin/sh -c #(nop) COPY file:0753c1de004fff05ef0ea8d2deae88ffe5751fe681f0e8975d5de0136bc61cde in /usr/bin/ 
                        
# 2020-07-04 06:25:12  46.49MB 
/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/*
                        
# 2020-07-04 06:25:07  0.00B 
/bin/sh -c #(nop)  MAINTAINER David Personette <dperson@gmail.com>
                        
# 2020-05-30 05:19:46  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2020-05-30 05:19:46  5.57MB 
/bin/sh -c #(nop) ADD file:c92c248239f8c7b9b3c067650954815f391b7bcb09023f984972c082ace2a8d0 in / 
                        
                    

镜像信息

{
    "Id": "sha256:aac8a52c5b16558f44d5fa6595a30d6c86d102fedec4f86629c6253cc41f0404",
    "RepoTags": [
        "dperson/samba:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba:latest"
    ],
    "RepoDigests": [
        "dperson/samba@sha256:66088b78a19810dd1457a8f39340e95e663c728083efa5fe7dc0d40b2478e869",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/dperson/samba@sha256:e1d2a7366690749a7be06f72bdbf6a5a7d15726fc84e4e4f41e967214516edfd"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-07-03T22:25:13.576851395Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "19.03.8",
    "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": "sha256:0ecfc4635604330642003923e892bad58773782ade3c5a271d1317b08ac76f5c",
        "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": "amd64",
    "Os": "linux",
    "Size": 52070814,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/5531a6112c92a8cbf691aa8b134db8cf7d58e51c13d65486a994f56c2797a2b8/diff:/var/lib/docker/overlay2/566a9a52fb6501422cdc71b8e48c4812975744f21f8d1241c9b43d76903fde13/diff",
            "MergedDir": "/var/lib/docker/overlay2/2fdafd692defae0973c7c16600bae759380beaa447a29338cbc2b2bac53ec21b/merged",
            "UpperDir": "/var/lib/docker/overlay2/2fdafd692defae0973c7c16600bae759380beaa447a29338cbc2b2bac53ec21b/diff",
            "WorkDir": "/var/lib/docker/overlay2/2fdafd692defae0973c7c16600bae759380beaa447a29338cbc2b2bac53ec21b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:50644c29ef5a27c9a40c393a73ece2479de78325cae7d762ef3cdc19bf42dd0a",
            "sha256:0111a0c3dabbb5c407a9c4ea3a830d373908f5188c52fd27570e83f7c868b4b8",
            "sha256:1f4b576cb3d16cbf7c925c31dcbf34d88e2f2562bd871f0f2cd60bd76b295529"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-06-14T23:57:05.987901018+08:00"
    }
}

更多版本

docker.io/dperson/samba:latest

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