Public | Automated Build

Last pushed: 19 days ago
Short Description
Ruby installed image, on Debian jessie amd64
Full Description




about minimum2scp/ruby-jessie image

start container

docker run -d minimum2scp/ruby-jessie

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 <published ssh port> debian@localhost
  • user "debian" is available
  • password is "debian"
  • 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 02:38 ?        Ss     0:00 init [2]  
root        37     1  0 02:38 ?        Ssl    0:00 /usr/sbin/rsyslogd
root        62     1  0 02:38 ?        Ss     0:00 /usr/sbin/cron
root        73     1  0 02:38 ?        Ss     0:00 /usr/sbin/sshd
root        80    73  1 02:38 ?        Ss     0:00  \_ sshd: debian [priv]
debian      82    80  0 02:38 ?        S      0:00      \_ sshd: debian@pts/0
debian      83    82  0 02:38 pts/0    Ss     0:00          \_ -bash
debian     134    83  0 02:38 pts/0    R+     0:00              \_ ps -ef fww

ports

  • TCP/22: sshd

about rbenv

rbenv is installed in /opt/rbenv.

rbenv versions, and default ruby

rbenv gloabl (/opt/rbenv/version) is not defined, and no rubies are built.

$ rbenv versions
* system (set by /opt/rbenv/version)

plugins

rbenv is installed in /opt/rbenv, and some plugins are installed.

  • ruby-build
  • rbenv-update

shell settings

For bash user: automatically loaded rbenv by /etc/profile.d/rbenv.sh

For zsh user: zsh does not load /etc/profile.d, so you have to load /etc/profile.d/rbenv.sh by yourself.

Docker Pull Command
Owner
minimum2scp
Source Repository

Comments (0)