Sign inSign up

minimum2scp/baseimage-buster

By minimum2scp

Updated about 1 year ago

Debian buster image with sysvinit + sshd, rsyslog, cron daemons.

Image
1

10K+

minimum2scp/baseimage-buster repository overview

Docker Stars Docker Pulls Docker Build Status Docker Automated Build

about minimum2scp/baseimage-buster image

  • based on minimum2scp/debian-buster 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-buster: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)

processes

UID        PID  PPID  C STIME TTY      STAT   TIME CMD
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

ports

  • TCP/22: sshd

packages

installed packages:

ii   adduser                 3.118                        all    add and remove users and groups
ii   apt                     1.8.2                        amd64  commandline package manager
ii   base-files              10.3+deb10u2                 amd64  Debian base system miscellaneous files
ii   base-passwd             3.5.46                       amd64  Debian base system master password and group files
ii   bash                    5.0-4                        amd64  GNU Bourne Again SHell
ii   bsdmainutils            11.1.2+b1                    amd64  collection of more utilities from FreeBSD
ii   bsdutils                1:2.33.1-0.1                 amd64  basic utilities from 4.4BSD-Lite
ii   ca-certificates         20190110                     all    Common CA certificates
ii   coreutils               8.30-3                       amd64  GNU core utilities
ii   cron                    3.0pl1-134+deb10u1           amd64  process scheduling daemon
ii   curl                    7.64.0-4                     amd64  command line tool for transferring data with URL syntax
ii   dash                    0.5.10.2-5                   amd64  POSIX-compliant shell
ii   debconf                 1.5.71                       all    Debian configuration management system
ii   debian-archive-keyring  2019.1                       all    GnuPG archive keys of the Debian archive
ii   debianutils             4.8.6.1                      amd64  Miscellaneous utilities specific to Debian
ii   diffutils               1:3.7-3                      amd64  File comparison utilities
ii   dpkg                    1.19.7                       amd64  Debian package management system
ii   e2fsprogs               1.44.5-1+deb10u2             amd64  ext2/ext3/ext4 file system utilities
ii   etckeeper               1.18.10-1                    all    store /etc in git, mercurial, bzr or darcs
ii   fdisk                   2.33.1-0.1                   amd64  collection of partitioning utilities
ii   findutils               4.6.0+git+20190209-2         amd64  utilities for finding files--find, xargs
ii   gcc-8-base              8.3.0-6                      amd64  GCC, the GNU Compiler Collection (base package)
ii   git                     1:2.20.1-2+deb10u1           amd64  fast, scalable, distributed revision control system
ii   git-man                 1:2.20.1-2+deb10u1           all    fast, scalable, distributed revision control system (manual pages)
ii   gpgv                    2.2.12-1+deb10u1             amd64  GNU privacy guard - signature verification tool
ii   grep                    3.3-1                        amd64  GNU grep, egrep and fgrep
ii   groff-base              1.22.4-3                     amd64  GNU troff text-formatting system (base system components)
ii   gzip                    1.9-3                        amd64  GNU compression utilities
ii   hostname                3.21                         amd64  utility to set/show the host name or domain name
ii   inetutils-ping          2:1.9.4-7                    amd64  ICMP echo tool
ii   init-system-helpers     1.56+nmu1                    all    helper tools for all init systems
ii   initscripts             2.93-8                       amd64  scripts for initializing and shutting down the system
ii   insserv                 1.18.0-2                     amd64  boot sequence organizer using LSB init.d script dependency information
ii   iproute2                4.20.0-2                     amd64  networking and traffic control tools
ii   libacl1                 2.2.53-4                     amd64  access control list - shared library
ii   libapt-pkg5.0           1.8.2                        amd64  package management runtime library
ii   libattr1                1:2.4.48-4                   amd64  extended attribute handling - shared library
ii   libaudit-common         1:2.8.4-3                    all    Dynamic library for security auditing - common files
ii   libaudit1               1:2.8.4-3                    amd64  Dynamic library for security auditing
ii   libblkid1               2.33.1-0.1                   amd64  block device ID library
ii   libbsd0                 0.9.1-2                      amd64  utility functions from BSD systems - shared library
ii   libbz2-1.0              1.0.6-9.2~deb10u1            amd64  high-quality block-sorting file compressor library - runtime
ii   libc-bin                2.28-10                      amd64  GNU C Library: Binaries
ii   libc-l10n               2.28-10                      all    GNU C Library: localization files
ii   libc6                   2.28-10                      amd64  GNU C Library: Shared libraries
ii   libcap-ng0              0.7.9-2                      amd64  An alternate POSIX capabilities library
ii   libcap2                 1:2.25-2                     amd64  POSIX 1003.1e capabilities (library)
ii   libcap2-bin             1:2.25-2                     amd64  POSIX 1003.1e capabilities (utilities)
ii   libcom-err2             1.44.5-1+deb10u2             amd64  common error description library
ii   libcurl3-gnutls         7.64.0-4                     amd64  easy-to-use client-side URL transfer library (GnuTLS flavour)
ii   libcurl4                7.64.0-4                     amd64  easy-to-use client-side URL transfer library (OpenSSL flavour)
ii   libdb5.3                5.3.28+dfsg1-0.5             amd64  Berkeley v5.3 Database Libraries [runtime]
ii   libdebconfclient0       0.249                        amd64  Debian Configuration Management System (C-implementation library)
ii   libedit2                3.1-20181209-1               amd64  BSD editline and history libraries
ii   libelf1                 0.176-1.1                    amd64  library to read and write ELF files
ii   liberror-perl           0.17027-2                    all    Perl module for error/exception handling in an OO-ish way
ii   libestr0                0.1.10-2.1                   amd64  Helper functions for handling strings (lib)
ii   libexpat1               2.2.6-2+deb10u1              amd64  XML parsing C library - runtime library
ii   libext2fs2              1.44.5-1+deb10u2             amd64  ext2/ext3/ext4 file system libraries
ii   libfastjson4            0.99.8-2                     amd64  fast json library for C
ii   libfdisk1               2.33.1-0.1                   amd64  fdisk partitioning library
ii   libffi6                 3.2.1-9                      amd64  Foreign Function Interface library runtime
ii   libgcc1                 1:8.3.0-6                    amd64  GCC support library
ii   libgcrypt20             1.8.4-5                      amd64  LGPL Crypto library - runtime library
ii   libgdbm-compat4         1.18.1-4                     amd64  GNU dbm database routines (legacy support runtime version) 
ii   libgdbm6                1.18.1-4                     amd64  GNU dbm database routines (runtime version) 
ii   libgmp10                2:6.1.2+dfsg-4               amd64  Multiprecision arithmetic library
ii   libgnutls30             3.6.7-4                      amd64  GNU TLS library - main runtime library
ii   libgpg-error0           1.35-1                       amd64  GnuPG development runtime library
ii   libgssapi-krb5-2        1.17-3                       amd64  MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii   libhogweed4             3.4.1-1                      amd64  low level cryptographic library (public-key cryptos)
ii   libidn11                1.33-2.2                     amd64  GNU Libidn library, implementation of IETF IDN specifications
ii   libidn2-0               2.0.5-1+deb10u1              amd64  Internationalized domain names (IDNA2008/TR46) library
ii   libk5crypto3            1.17-3                       amd64  MIT Kerberos runtime libraries - Crypto Library
ii   libkeyutils1            1.6-6                        amd64  Linux Key Management Utilities (library)
ii   libkrb5-3               1.17-3                       amd64  MIT Kerberos runtime libraries
ii   libkrb5support0         1.17-3                       amd64  MIT Kerberos runtime libraries - Support library
ii   libldap-2.4-2           2.4.47+dfsg-3+deb10u1        amd64  OpenLDAP libraries
ii   libldap-common          2.4.47+dfsg-3+deb10u1        all    OpenLDAP common files for libraries
ii   liblognorm5             2.0.5-1                      amd64  log normalizing library
ii   liblz4-1                1.8.3-1                      amd64  Fast LZ compression algorithm library - runtime
ii   liblzma5                5.2.4-1                      amd64  XZ-format compression library
ii   libmnl0                 1.0.4-2                      amd64  minimalistic Netlink communication library
ii   libmount1               2.33.1-0.1                   amd64  device mounting library
ii   libncurses6             6.1+20181013-2+deb10u2       amd64  shared libraries for terminal handling
ii   libncursesw6            6.1+20181013-2+deb10u2       amd64  shared libraries for terminal handling (wide character support)
ii   libnettle6              3.4.1-1                      amd64  low level cryptographic library (symmetric and one-way cryptos)
ii   libnewt0.52             0.52.20-8                    amd64  Not Erik's Windowing Toolkit - text mode windowing with slang
ii   libnghttp2-14           1.36.0-2+deb10u1             amd64  library implementing HTTP/2 protocol (shared library)
ii   libp11-kit0             0.23.15-2                    amd64  library for loading and coordinating access to PKCS#11 modules - runtime
ii   libpam-modules          1.3.1-5                      amd64  Pluggable Authentication Modules for PAM
ii   libpam-modules-bin      1.3.1-5                      amd64  Pluggable Authentication Modules for PAM - helper binaries
ii   libpam-runtime          1.3.1-5                      all    Runtime support for the PAM library
ii   libpam0g                1.3.1-5                      amd64  Pluggable Authentication Modules library
ii   libpcre2-8-0            10.32-5                      amd64  New Perl Compatible Regular Expression Library- 8 bit runtime files
ii   libpcre3                2:8.39-12                    amd64  Old Perl 5 Compatible Regular Expression Library - runtime files
ii   libperl5.28             5.28.1-6                     amd64  shared Perl library
ii   libpipeline1            1.5.1-2                      amd64  pipeline manipulation library
ii   libpopt0                1.16-12                      amd64  lib for parsing cmdline parameters
ii   libprocps7              2:3.3.15-2                   amd64  library for accessing process information from /proc
ii   libpsl5                 0.20.2-2                     amd64  Library for Public Suffix List (shared libraries)
ii   libpython-stdlib        2.7.16-1                     amd64  interactive high-level object-oriented language (Python2)
ii   libpython2-stdlib       2.7.16-1                     amd64  interactive high-level object-oriented language (Python2)
ii   libpython2.7-minimal    2.7.16-2+deb10u1             amd64  Minimal subset of the Python language (version 2.7)
ii   libpython2.7-stdlib     2.7.16-2+deb10u1             amd64  Interactive high-level object-oriented language (standard library, version 2.7)
ii   libreadline7            7.0-5                        amd64  GNU readline and history libraries, run-time libraries
ii   librtmp1                2.4+20151223.gitfa8646d.1-2  amd64  toolkit for RTMP streams (shared library)
ii   libsasl2-2              2.1.27+dfsg-1+deb10u1        amd64  Cyrus SASL - authentication abstraction library
ii   libsasl2-modules-db     2.1.27+dfsg-1+deb10u1        amd64  Cyrus SASL - pluggable authentication modules (DB)
ii   libseccomp2             2.3.3-4                      amd64  high level interface to Linux seccomp filter
ii   libselinux1             2.8-1+b1                     amd64  SELinux runtime shared libraries
ii   libsemanage-common      2.8-2                        all    Common files for SELinux policy management libraries
ii   libsemanage1            2.8-2                        amd64  SELinux policy management library
ii   libsepol1               2.8-1                        amd64  SELinux library for manipulating binary security policies
ii   libslang2               2.3.2-2                      amd64  S-Lang programming library - runtime version
ii   libsmartcols1           2.33.1-0.1                   amd64  smart column output alignment library
ii   libsqlite3-0            3.27.2-3                     amd64  SQLite 3 shared library
ii   libss2                  1.44.5-1+deb10u2             amd64  command-line interface parsing library
ii   libssh2-1               1.8.0-2.1                    amd64  SSH2 client-side library
ii   libssl1.1               1.1.1d-0+deb10u2             amd64  Secure Sockets Layer toolkit - shared libraries
ii   libstdc++6              8.3.0-6                      amd64  GNU Standard C++ Library v3
ii   libsystemd0             241-7~deb10u2                amd64  systemd utility library
ii   libtasn1-6              4.13-3                       amd64  Manage ASN.1 structures (runtime)
ii   libtinfo6               6.1+20181013-2+deb10u2       amd64  shared low-level terminfo library for terminal handling
ii   libuchardet0            0.0.6-3                      amd64  universal charset detection library - shared library
ii   libudev1                241-7~deb10u2                amd64  libudev shared library
ii   libunistring2           0.9.10-1                     amd64  Unicode string library for C
ii   libuuid1                2.33.1-0.1                   amd64  Universally Unique ID library
ii   libwrap0                7.6.q-28                     amd64  Wietse Venema's TCP wrappers library
ii   libxtables12            1.8.2-4                      amd64  netfilter xtables library
ii   libzstd1                1.3.8+dfsg-3                 amd64  fast lossless compression algorithm
ii   localepurge             0.7.3.5                      all    reclaim disk space by removing unneeded localizations
ii   locales                 2.28-10                      all    GNU C Library: National Language (locale) data [support]
ii   login                   1:4.5-1.1                    amd64  system login tools
ii   lsb-base                10.2019051400                all    Linux Standard Base init script functionality
ii   lv                      4.51-5+b1                    amd64  Powerful Multilingual File Viewer
ii   man-db                  2.8.5-2                      amd64  on-line manual pager
ii   mawk                    1.3.3-17+b3                  amd64  a pattern scanning and text processing language
ii   mime-support            3.62                         all    MIME files 'mime.types' & 'mailcap', and support programs
ii   mount                   2.33.1-0.1                   amd64  tools for mounting and manipulating filesystems
ii   ncurses-base            6.1+20181013-2+deb10u2       all    basic terminal type definitions
ii   ncurses-bin             6.1+20181013-2+deb10u2       amd64  terminal-related programs and man pages
ii   net-tools               1.60+git20180626.aebd88e-1   amd64  NET-3 networking toolkit
ii   netbase                 5.6                          all    Basic TCP/IP networking system
ii   openssh-client          1:7.9p1-10+deb10u1           amd64  secure shell (SSH) client, for secure access to remote machines
ii   openssh-server          1:7.9p1-10+deb10u1           amd64  secure shell (SSH) server, for secure access from remote machines
ii   openssh-sftp-server     1:7.9p1-10+deb10u1           amd64  secure shell (SSH) sftp server module, for SFTP access from remote machines
ii   openssl                 1.1.1d-0+deb10u2             amd64  Secure Sockets Layer toolkit - cryptographic utility
ii   passwd                  1:4.5-1.1                    amd64  change and administer password and group data
ii   perl                    5.28.1-6                     amd64  Larry Wall's Practical Extraction and Report Language
ii   perl-base               5.28.1-6                     amd64  minimal Perl system
ii   perl-modules-5.28       5.28.1-6                     all    Core Perl modules
ii   procps                  2:3.3.15-2                   amd64  /proc file system utilities
ii   python                  2.7.16-1                     amd64  interactive high-level object-oriented language (Python2 version)
ii   python-minimal          2.7.16-1                     amd64  minimal subset of the Python2 language
ii   python2                 2.7.16-1                     amd64  interactive high-level object-oriented language (Python2 version)
ii   python2-minimal         2.7.16-1                     amd64  minimal subset of the Python2 language
ii   python2.7               2.7.16-2+deb10u1             amd64  Interactive high-level object-oriented language (version 2.7)
ii   python2.7-minimal       2.7.16-2+deb10u1             amd64  Minimal subset of the Python language (version 2.7)
ii   readline-common         7.0-5                        all    GNU readline and history libraries, common files
ii   rsyslog                 8.1901.0-1                   amd64  reliable system and kernel logging daemon
ii   sed                     4.7-1                        amd64  GNU stream editor for filtering/transforming text
ii   sensible-utils          0.0.12                       all    Utilities for sensible alternative selection
ii   startpar                0.61-1                       amd64  run processes in parallel and multiplex their output
ii   sudo                    1.8.27-1+deb10u1             amd64  Provide limited super user privileges to specific users
ii   sysv-rc                 2.93-8                       all    System-V-like runlevel change mechanism
ii   sysvinit-core           2.93-8                       amd64  System-V-like init utilities
ii   sysvinit-utils          2.93-8                       amd64  System-V-like utilities
ii   tar                     1.30+dfsg-6                  amd64  GNU version of the tar archiving utility
ii   tzdata                  2019c-0+deb10u1              all    time zone and daylight-saving time data
ii   ucf                     3.0038+nmu1                  all    Update Configuration File(s): preserve user changes to config files
ii   unzip                   6.0-23+deb10u1               amd64  De-archiver for .zip files
ii   util-linux              2.33.1-0.1                   amd64  miscellaneous system utilities
ii   vim-common              2:8.1.0875-5                 all    Vi IMproved - Common files
ii   vim-tiny                2:8.1.0875-5                 amd64  Vi IMproved - enhanced vi editor - compact version
ii   whiptail                0.52.20-8                    amd64  Displays user-friendly dialog boxes from shell scripts
ii   xxd                     2:8.1.0875-5                 amd64  tool to make (or reverse) a hex dump
ii   zlib1g                  1:1.2.11.dfsg-1              amd64  compression library - runtime
ii   zsh                     5.7.1-1                      amd64  shell with lots of features
ii   zsh-common              5.7.1-1                      all    architecture independent files for Zsh

Tag summary

Content type

Image

Digest

sha256:49fd9db41

Size

143.6 MB

Last updated

about 1 year ago

docker pull minimum2scp/baseimage-buster