Slitaz64 -- slitaz/slitaz-ssh


docker pull slitaz/slitaz-ssh

openssh client/server
ID/PASSWD : root/root

tux@slitaz:~$ docker run --help | egrep '\-d,|\-P,'
-d, --detach Run container in background and print container ID
-P, --publish-all Publish all exposed ports to random ports

tux@slitaz:~$ docker run -d -P slitaz/slitaz-ssh
Unable to find image 'slitaz/slitaz-ssh:latest' locally
latest: Pulling from slitaz/slitaz-ssh
986f76552751: Pull complete
0226342fb824: Pull complete
c506367a6559: Pull complete
babe5d634668: Pull complete
Digest: sha256:b159db8c7371602c7609cfc04e752d5a3ea4610bef57b76c75174b76d67fca8b
Status: Downloaded newer image for slitaz/slitaz-ssh:latest

tux@slitaz:~$ docker ps
CONTAINER ID        IMAGE               COMMAND               CREATED             STATUS              PORTS                   NAMES
b32fc1ef623c        slitaz/slitaz-ssh   "/usr/sbin/sshd -D"   12 seconds ago      Up 11 seconds>22/tcp   tender_curie

tux@slitaz:~$ docker inspect b32f | grep IPAd
            "SecondaryIPAddresses": null,
            "IPAddress": "",
                    "IPAddress": "",

tux@slitaz:~$ ssh root@
Host '' is not in the trusted hosts file.
(ecdsa-sha2-nistp256 fingerprint md5 4e:89:a7:c0:69:64:12:13:72:d6:af:18:53:af:e1:89)
Do you want to continue connecting? (y/n) y
root@'s password:
Welcome to the Open Source World!
SliTaz GNU/Linux is distributed in the hope that it will be useful,

root@b32fc1ef623c:~# tazpkg -l
List of all installed packages
busybox                            1.23.2            base-system
gettext-base                       0.19.4            base-system
glibc-base                         2.19              base-system
libcrypto                          1.0.1q            security
ncurses-common                     5.9               base-system
openssh                            7.2p2             security
sftp-server                        7.2p2             security
slitaz-base-files                  309               base-system
tazpkg                             5.3.3             base-system
zlib                               1.2.8             base-system
10 packages installed.


Slitaz64 -- Docker Dockerfile

Docker Dockerfile
Public | Automated Build


FROM slitaz/slitaz-base:latest 

RUN tazpkg -gi openssh && \
 tazpkg -cc

RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
 sed -i 's/#PasswordAuthentication/PasswordAuthentication/' /etc/ssh/sshd_config 

RUN mkdir -p /var/run/sshd

EXPOSE 22/tcp 

CMD ["/usr/sbin/sshd", "-D"]

Building in Docker Cloud's infrastructure...
Cloning into '.'...
KernelVersion: 4.4.0-59-generic
Os: linux
BuildTime: 2017-01-10T23:09:49.630531934+00:00
ApiVersion: 1.24
Version: 1.12.6-cs6
GitCommit: 712e864
Arch: amd64
GoVersion: go1.6.4
Starting build of index.docker.io/slitaz/slitaz-ssh:latest...
Step 1 : FROM slitaz/slitaz-base:latest
---> 50236ce3c843
Step 2 : RUN tazpkg -gi openssh && tazpkg -cc
---> Running in 04af6e5b65f6


Slitaz -- UUID="2017-01-19-08-32-05-00" LABEL="SliTaz preinit"

UUID="2017-01-19-08-32-05-00" LABEL="SliTaz preinit"

No kernel modules.

UPDATE: 20170121

pushed http://hg.slitaz.org/wok/rev/1fe20f9ae3ad
and http://hg.slitaz.org/wok/rev/29a6d4caed7a

wok     changeset 19638:1fe20f9ae3ad
linux64: update deps

diff -r cde5f1326cbc -r 1fe20f9ae3ad linux64/receipt
--- a/linux64/receipt    Fri Jan 20 11:51:22 2017 +0100
+++ b/linux64/receipt    Fri Jan 20 16:14:12 2017 +0100
@@ -13,7 +13,7 @@
# We want it regenerated on each kernel/module install


# Rules to gen a SliTaz package suitable for Tazpkg.

wok     changeset 19639:29a6d4caed7a
slitaz-boot-scripts: update deps

diff -r 1fe20f9ae3ad -r 29a6d4caed7a slitaz-boot-scripts/receipt
--- a/slitaz-boot-scripts/receipt    Fri Jan 20 16:14:12 2017 +0100
+++ b/slitaz-boot-scripts/receipt    Fri Jan 20 16:19:33 2017 +0100
@@ -18,7 +18,7 @@

# Needed to fetch the keymaps and test the filesystem.
-DEPENDS="kbd-base e2fsprogs busybox"
+DEPENDS="kbd-base e2fsprogs busybox slitaz-tools"

# Rules to gen a SliTaz package suitable for Tazpkg.

wok     changeset 19640:13daef3b4658
kmod: also provides depmod

diff -r 29a6d4caed7a -r 13daef3b4658 kmod/receipt
--- a/kmod/receipt    Fri Jan 20 16:19:33 2017 +0100
+++ b/kmod/receipt    Fri Jan 20 16:40:06 2017 +0100
@@ -9,7 +9,7 @@
+PROVIDE="modules-init-tools depmod"
HOST_ARCH="i486 arm"

DEPENDS="zlib liblzma"


Slitaz64 -- UUID="2017-01-15-02-37-20-00" LABEL="SliTaz core64" -2

Distro: rolling-core64

Installing package: linux64-wireless Unable to find package "linux64-cryptolinux-libre-crypto" in the mirrored packages list.
Unable to find package "get-linux64-cryptolinux-libre-crypto" in the mirrored packages list. [ Done ]

Installing package: firmware-rt2x00 Unable to find package "linux64-wirelesslinux-libre-wireless" in the mirrored packages list.
Unable to find package "get-linux64-wirelesslinux-libre-wireless" in the mirrored packages list. [ Done ]
Installing package: firmware-rtlwifi Unable to find package "linux64-wirelesslinux-libre-wireless" in the mirrored packages list.
Unable to find package "get-linux64-wirelesslinux-libre-wireless" in the mirrored packages list. [ Done ]

Installing package: locale-it Checksum error for "locale-it-5.0.tazpkg" [ Done ]

Installing package: xorg-server Unable to find package "linux64-drmlinux-libre-drm" in the mirrored packages list.
Unable to find package "get-linux64-drmlinux-libre-drm" in the mirrored packages list. [ Done ]

Installing package: yad Checksum error for "yad-gtk3-0.28.1.tazpkg" [ Done ]

Distro statistics: /home/slitaz/distro
Build time : 842s ~ 14m
Build date : 20170115
Packages : 288
Rootfs size : 184.6M
Initramfs size : 45.3M
ISO image size : 50.0M
Image is ready: slitaz-core64.iso

Moving ISO to: /home/slitaz/iso/slitaz-rolling-core64.iso
Cookiso ended: 2017-01-15 02:37

Slitaz64 -- UUID="2017-01-15-02-37-20-00" LABEL="SliTaz core64"

ifconfig: SIOCGIFFLAGS: No such device

tux@slitaz:~$ grep -A5 network /var/log/boot.log
Processing: /etc/init.d/network.sh
Loading network settings from /etc/network.conf
Setting hostname to: slitaz [ Done ]
Configuring loopback... [ Done ]
ifconfig: SIOCGIFFLAGS: No such device
Starting udhcpc client on: eth0...
udhcpc: SIOCGIFINDEX: No such device

tux@slitaz:~$ lsmod
Module Size Used by Not tainted

tux@slitaz:~$ blkid
/dev/sr0: UUID="2017-01-15-02-37-20-00" LABEL="SliTaz core64" TYPE="iso9660" PTUUID="587ad259" PTTYPE="dos"