Public | Automated Build

Last pushed: 10 days ago
Short Description
Debian stretch image with sysvinit + sshd, rsyslog, cron daemons.
Full Description

about minimum2scp/baseimage-stretch image

  • based on minimum2scp/debian-stretch image
  • Runs /opt/init-wrapper/sbin/init by default
    • /opt/init-wrapper/sbin/init invokes all scripts in /opt/init-wrapper/pre-init.d (using run-parts), and exec /sbin/init
    • /sbin/init is replaced by sysvinit-core package
    • /sbin/init invokes sshd, rsyslogd, cron daemons
    • /etc/rc.local invokes all scripts in /opt/init-wrapper/post-init.d (using run-parts)
  • ja_JP.UTF-8 locale supported. (default locale is C)
  • timezone is Asia/Tokyo
  • etckeeper installed

start container

docker run -d -p 2222:22 minimum2scp/baseimage-stretch:latest

ssh login to container

ssh login to container:

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no debian@<container IP address>

or use published port:

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 2222 debian@localhost
  • user "debian" is available
  • default password is "debian"
    • to change password, set environment variable USER_PASSWORD (see /opt/init-wrapper/pre-init.d/04-chpass-and-sshkey)
    • to set ssh public key into ~/.ssh/authorized_keys, set environment variable USER_SSH_KEY_URI (see /opt/init-wrapper/pre-init.d/04-chpass-and-sshkey)
  • user "debian" can use sudo command without password
  • id debian: uid=2000(debian) gid=2000(debian) groups=2000(debian),4(adm),27(sudo)


root         1     0  0 01:52 ?        Ss     0:00 init [2]
root        37     1  0 01:52 ?        Ssl    0:00 /usr/sbin/rsyslogd
root        62     1  0 01:52 ?        Ss     0:00 /usr/sbin/cron
root        73     1  0 01:52 ?        Ss     0:00 /usr/sbin/sshd
root        80    73  0 01:52 ?        Ss     0:00  \_ sshd: debian [priv]
debian      82    80  0 01:52 ?        S      0:00      \_ sshd: debian@pts/0
debian      83    82  0 01:52 pts/0    Ss     0:00          \_ -bash
debian      89    83  0 01:52 pts/0    R+     0:00              \_ ps -ef fww


  • TCP/22: sshd


installed packages:

ii   adduser                 3.115                           all    add and remove users and groups
ii   apt                     1.4.8                           amd64  commandline package manager
ii   base-files              9.9+deb9u3                      amd64  Debian base system miscellaneous files
ii   base-passwd             3.5.43                          amd64  Debian base system master password and group files
ii   bash                    4.4-5                           amd64  GNU Bourne Again SHell
ii   bsdmainutils            9.0.12+nmu1                     amd64  collection of more utilities from FreeBSD
ii   bsdutils                1:2.29.2-1                      amd64  basic utilities from 4.4BSD-Lite
ii   ca-certificates         20161130+nmu1                   all    Common CA certificates
ii   coreutils               8.26-3                          amd64  GNU core utilities
ii   cron                    3.0pl1-128+b1                   amd64  process scheduling daemon
ii   curl                    7.52.1-5+deb9u4                 amd64  command line tool for transferring data with URL syntax
ii   dash                    0.5.8-2.4                       amd64  POSIX-compliant shell
ii   debconf                 1.5.61                          all    Debian configuration management system
ii   debian-archive-keyring  2017.5                          all    GnuPG archive keys of the Debian archive
ii   debianutils                            amd64  Miscellaneous utilities specific to Debian
ii   diffutils               1:3.5-3                         amd64  File comparison utilities
ii   dpkg                    1.18.24                         amd64  Debian package management system
ii   e2fslibs                1.43.4-2                        amd64  ext2/ext3/ext4 file system libraries
ii   e2fsprogs               1.43.4-2                        amd64  ext2/ext3/ext4 file system utilities
ii   etckeeper               1.18.5-1                        all    store /etc in git, mercurial, bzr or darcs
ii   findutils               4.6.0+git+20161106-2            amd64  utilities for finding files--find, xargs
ii   gcc-6-base              6.3.0-18                        amd64  GCC, the GNU Compiler Collection (base package)
ii   git                     1:2.11.0-3+deb9u2               amd64  fast, scalable, distributed revision control system
ii   git-man                 1:2.11.0-3+deb9u2               all    fast, scalable, distributed revision control system (manual pages)
ii   gpgv                    2.1.18-8~deb9u1                 amd64  GNU privacy guard - signature verification tool
ii   grep                    2.27-2                          amd64  GNU grep, egrep and fgrep
ii   groff-base              1.22.3-9                        amd64  GNU troff text-formatting system (base system components)
ii   gzip                    1.6-5+b1                        amd64  GNU compression utilities
ii   hostname                3.18+b1                         amd64  utility to set/show the host name or domain name
ii   inetutils-ping          2:1.9.4-2+b1                    amd64  ICMP echo tool
ii   init-system-helpers     1.48                            all    helper tools for all init systems
ii   initscripts             2.88dsf-59.9                    amd64  scripts for initializing and shutting down the system
ii   insserv                 1.14.0-5.4+b1                   amd64  boot sequence organizer using LSB init.d script dependency information
ii   iproute2                4.9.0-1+deb9u1                  amd64  networking and traffic control tools
ii   libacl1                 2.2.52-3+b1                     amd64  Access control list shared library
ii   libapt-pkg5.0           1.4.8                           amd64  package management runtime library
ii   libattr1                1:2.4.47-2+b2                   amd64  Extended attribute shared library
ii   libaudit-common         1:2.6.7-2                       all    Dynamic library for security auditing - common files
ii   libaudit1               1:2.6.7-2                       amd64  Dynamic library for security auditing
ii   libblkid1               2.29.2-1                        amd64  block device ID library
ii   libbsd0                 0.8.3-1                         amd64  utility functions from BSD systems - shared library
ii   libbz2-1.0              1.0.6-8.1                       amd64  high-quality block-sorting file compressor library - runtime
ii   libc-bin                2.24-11+deb9u1                  amd64  GNU C Library: Binaries
ii   libc-l10n               2.24-11+deb9u1                  all    GNU C Library: localization files
ii   libc6                   2.24-11+deb9u1                  amd64  GNU C Library: Shared libraries
ii   libcap-ng0              0.7.7-3+b1                      amd64  An alternate POSIX capabilities library
ii   libcap2                 1:2.25-1                        amd64  POSIX 1003.1e capabilities (library)
ii   libcomerr2              1.43.4-2                        amd64  common error description library
ii   libcurl3                7.52.1-5+deb9u4                 amd64  easy-to-use client-side URL transfer library (OpenSSL flavour)
ii   libcurl3-gnutls         7.52.1-5+deb9u4                 amd64  easy-to-use client-side URL transfer library (GnuTLS flavour)
ii   libdb5.3                5.3.28-12+deb9u1                amd64  Berkeley v5.3 Database Libraries [runtime]
ii   libdebconfclient0       0.227                           amd64  Debian Configuration Management System (C-implementation library)
ii   libedit2                3.1-20160903-3                  amd64  BSD editline and history libraries
ii   libelf1                 0.168-1                         amd64  library to read and write ELF files
ii   liberror-perl           0.17024-1                       all    Perl module for error/exception handling in an OO-ish way
ii   libestr0                0.1.10-2                        amd64  Helper functions for handling strings (lib)
ii   libexpat1               2.2.0-2+deb9u1                  amd64  XML parsing C library - runtime library
ii   libfastjson4            0.99.4-1                        amd64  fast json library for C
ii   libfdisk1               2.29.2-1                        amd64  fdisk partitioning library
ii   libffi6                 3.2.1-6                         amd64  Foreign Function Interface library runtime
ii   libgcc1                 1:6.3.0-18                      amd64  GCC support library
ii   libgcrypt20             1.7.6-2+deb9u2                  amd64  LGPL Crypto library - runtime library
ii   libgdbm3                1.8.3-14                        amd64  GNU dbm database routines (runtime version)
ii   libgmp10                2:6.1.2+dfsg-1                  amd64  Multiprecision arithmetic library
ii   libgnutls30             3.5.8-5+deb9u3                  amd64  GNU TLS library - main runtime library
ii   libgpg-error0           1.26-2                          amd64  library for common error values and messages in GnuPG components
ii   libgssapi-krb5-2        1.15-1+deb9u1                   amd64  MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii   libhogweed4             3.3-1+b2                        amd64  low level cryptographic library (public-key cryptos)
ii   libidn11                1.33-1                          amd64  GNU Libidn library, implementation of IETF IDN specifications
ii   libidn2-0               0.16-1+deb9u1                   amd64  Internationalized domain names (IDNA2008) library
ii   libk5crypto3            1.15-1+deb9u1                   amd64  MIT Kerberos runtime libraries - Crypto Library
ii   libkeyutils1            1.5.9-9                         amd64  Linux Key Management Utilities (library)
ii   libkrb5-3               1.15-1+deb9u1                   amd64  MIT Kerberos runtime libraries
ii   libkrb5support0         1.15-1+deb9u1                   amd64  MIT Kerberos runtime libraries - Support library
ii   libldap-2.4-2           2.4.44+dfsg-5+deb9u1            amd64  OpenLDAP libraries
ii   libldap-common          2.4.44+dfsg-5+deb9u1            all    OpenLDAP common files for libraries
ii   liblogging-stdlog0      1.0.5-2+b2                      amd64  easy to use and lightweight logging library
ii   liblognorm5             2.0.1-1.1+b1                    amd64  log normalizing library
ii   liblz4-1                0.0~r131-2+b1                   amd64  Fast LZ compression algorithm library - runtime
ii   liblzma5                5.2.2-1.2+b1                    amd64  XZ-format compression library
ii   libmnl0                 1.0.4-2                         amd64  minimalistic Netlink communication library
ii   libmount1               2.29.2-1                        amd64  device mounting library
ii   libncurses5             6.0+20161126-1+deb9u1           amd64  shared libraries for terminal handling
ii   libncursesw5            6.0+20161126-1+deb9u1           amd64  shared libraries for terminal handling (wide character support)
ii   libnettle6              3.3-1+b2                        amd64  low level cryptographic library (symmetric and one-way cryptos)
ii   libnewt0.52             0.52.19-1+b1                    amd64  Not Erik's Windowing Toolkit - text mode windowing with slang
ii   libnghttp2-14           1.18.1-1                        amd64  library implementing HTTP/2 protocol (shared library)
ii   libp11-kit0             0.23.3-2                        amd64  library for loading and coordinating access to PKCS#11 modules - runtime
ii   libpam-modules          1.1.8-3.6                       amd64  Pluggable Authentication Modules for PAM
ii   libpam-modules-bin      1.1.8-3.6                       amd64  Pluggable Authentication Modules for PAM - helper binaries
ii   libpam-runtime          1.1.8-3.6                       all    Runtime support for the PAM library
ii   libpam0g                1.1.8-3.6                       amd64  Pluggable Authentication Modules library
ii   libpcre3                2:8.39-3                        amd64  Old Perl 5 Compatible Regular Expression Library - runtime files
ii   libperl5.24             5.24.1-3+deb9u2                 amd64  shared Perl library
ii   libpipeline1            1.4.1-2                         amd64  pipeline manipulation library
ii   libpopt0                1.16-10+b2                      amd64  lib for parsing cmdline parameters
ii   libprocps6              2:3.3.12-3                      amd64  library for accessing process information from /proc
ii   libpsl5                 0.17.0-3                        amd64  Library for Public Suffix List (shared libraries)
ii   libpython-stdlib        2.7.13-2                        amd64  interactive high-level object-oriented language (default python version)
ii   libpython2.7-minimal    2.7.13-2+deb9u2                 amd64  Minimal subset of the Python language (version 2.7)
ii   libpython2.7-stdlib     2.7.13-2+deb9u2                 amd64  Interactive high-level object-oriented language (standard library, version 2.7)
ii   libreadline7            7.0-3                           amd64  GNU readline and history libraries, run-time libraries
ii   librtmp1                2.4+20151223.gitfa8646d.1-1+b1  amd64  toolkit for RTMP streams (shared library)
ii   libsasl2-2              2.1.27~101-g0780600+dfsg-3      amd64  Cyrus SASL - authentication abstraction library
ii   libsasl2-modules-db     2.1.27~101-g0780600+dfsg-3      amd64  Cyrus SASL - pluggable authentication modules (DB)
ii   libselinux1             2.6-3+b3                        amd64  SELinux runtime shared libraries
ii   libsemanage-common      2.6-2                           all    Common files for SELinux policy management libraries
ii   libsemanage1            2.6-2                           amd64  SELinux policy management library
ii   libsepol1               2.6-2                           amd64  SELinux library for manipulating binary security policies
ii   libslang2               2.3.1-5                         amd64  S-Lang programming library - runtime version
ii   libsmartcols1           2.29.2-1                        amd64  smart column output alignment library
ii   libsqlite3-0            3.16.2-5+deb9u1                 amd64  SQLite 3 shared library
ii   libss2                  1.43.4-2                        amd64  command-line interface parsing library
ii   libssh2-1               1.7.0-1                         amd64  SSH2 client-side library
ii   libssl1.0.2             1.0.2l-2+deb9u2                 amd64  Secure Sockets Layer toolkit - shared libraries
ii   libssl1.1               1.1.0f-3+deb9u1                 amd64  Secure Sockets Layer toolkit - shared libraries
ii   libstdc++6              6.3.0-18                        amd64  GNU Standard C++ Library v3
ii   libsystemd0             232-25+deb9u1                   amd64  systemd utility library
ii   libtasn1-6              4.10-1.1+deb9u1                 amd64  Manage ASN.1 structures (runtime)
ii   libtinfo5               6.0+20161126-1+deb9u1           amd64  shared low-level terminfo library for terminal handling
ii   libudev1                232-25+deb9u1                   amd64  libudev shared library
ii   libunistring0           0.9.6+really0.9.3-0.1           amd64  Unicode string library for C
ii   libustr-1.0-1           1.0.4-6                         amd64  Micro string library: shared library
ii   libuuid1                2.29.2-1                        amd64  Universally Unique ID library
ii   libwrap0                7.6.q-26                        amd64  Wietse Venema's TCP wrappers library
ii   localepurge                            all    reclaim disk space by removing unneeded localizations
ii   locales                 2.24-11+deb9u1                  all    GNU C Library: National Language (locale) data [support]
ii   login                   1:4.4-4.1                       amd64  system login tools
ii   lsb-base                9.20161125                      all    Linux Standard Base init script functionality
ii   lv                      4.51-3                          amd64  Powerful Multilingual File Viewer
ii   man-db                               amd64  on-line manual pager
ii   mawk                    1.3.3-17+b3                     amd64  a pattern scanning and text processing language
ii   mime-support            3.60                            all    MIME files 'mime.types' & 'mailcap', and support programs
ii   mount                   2.29.2-1                        amd64  tools for mounting and manipulating filesystems
ii   multiarch-support       2.24-11+deb9u1                  amd64  Transitional package to ensure multiarch compatibility
ii   ncurses-base            6.0+20161126-1+deb9u1           all    basic terminal type definitions
ii   ncurses-bin             6.0+20161126-1+deb9u1           amd64  terminal-related programs and man pages
ii   net-tools               1.60+git20161116.90da8a0-1      amd64  NET-3 networking toolkit
ii   netbase                 5.4                             all    Basic TCP/IP networking system
ii   openssh-client          1:7.4p1-10+deb9u2               amd64  secure shell (SSH) client, for secure access to remote machines
ii   openssh-server          1:7.4p1-10+deb9u2               amd64  secure shell (SSH) server, for secure access from remote machines
ii   openssh-sftp-server     1:7.4p1-10+deb9u2               amd64  secure shell (SSH) sftp server module, for SFTP access from remote machines
ii   openssl                 1.1.0f-3+deb9u1                 amd64  Secure Sockets Layer toolkit - cryptographic utility
ii   passwd                  1:4.4-4.1                       amd64  change and administer password and group data
ii   perl                    5.24.1-3+deb9u2                 amd64  Larry Wall's Practical Extraction and Report Language
ii   perl-base               5.24.1-3+deb9u2                 amd64  minimal Perl system
ii   perl-modules-5.24       5.24.1-3+deb9u2                 all    Core Perl modules
ii   procps                  2:3.3.12-3                      amd64  /proc file system utilities
ii   python                  2.7.13-2                        amd64  interactive high-level object-oriented language (default version)
ii   python-minimal          2.7.13-2                        amd64  minimal subset of the Python language (default version)
ii   python2.7               2.7.13-2+deb9u2                 amd64  Interactive high-level object-oriented language (version 2.7)
ii   python2.7-minimal       2.7.13-2+deb9u2                 amd64  Minimal subset of the Python language (version 2.7)
ii   readline-common         7.0-3                           all    GNU readline and history libraries, common files
ii   rsyslog                 8.24.0-1                        amd64  reliable system and kernel logging daemon
ii   sed                     4.4-1                           amd64  GNU stream editor for filtering/transforming text
ii   sensible-utils          0.0.9+deb9u1                    all    Utilities for sensible alternative selection
ii   startpar                0.59-3.1                        amd64  run processes in parallel and multiplex their output
ii   sudo                    1.8.19p1-2.1                    amd64  Provide limited super user privileges to specific users
ii   sysv-rc                 2.88dsf-59.9                    all    System-V-like runlevel change mechanism
ii   sysvinit-core           2.88dsf-59.9                    amd64  System-V-like init utilities
ii   sysvinit-utils          2.88dsf-59.9                    amd64  System-V-like utilities
ii   tar                     1.29b-1.1                       amd64  GNU version of the tar archiving utility
ii   tzdata                  2017c-0+deb9u1                  all    time zone and daylight-saving time data
ii   ucf                     3.0036                          all    Update Configuration File(s): preserve user changes to config files
ii   unzip                   6.0-21                          amd64  De-archiver for .zip files
ii   util-linux              2.29.2-1                        amd64  miscellaneous system utilities
ii   vim-common              2:8.0.0197-4+deb9u1             all    Vi IMproved - Common files
ii   vim-tiny                2:8.0.0197-4+deb9u1             amd64  Vi IMproved - enhanced vi editor - compact version
ii   whiptail                0.52.19-1+b1                    amd64  Displays user-friendly dialog boxes from shell scripts
ii   xxd                     2:8.0.0197-4+deb9u1             amd64  tool to make (or reverse) a hex dump
ii   zlib1g                  1:1.2.8.dfsg-5                  amd64  compression library - runtime
ii   zsh                     5.3.1-4+b2                      amd64  shell with lots of features
ii   zsh-common              5.3.1-4                         all    architecture independent files for Zsh
Docker Pull Command
Source Repository