読者です 読者をやめる 読者になる 読者になる

AKAI TSUKI

System development or Technical something

docker run !

centosのイメージを使ってdockerを動かしたー

# docker run -it centos /bin/bash
bash-4.1# cat /etc/redhat-release
CentOS release 6.5 (Final)
bash-4.1# yum list installed
Loaded plugins: fastestmirror
base                                                                                             | 3.7 kB     00:00
base/primary_db                                                                                  | 4.4 MB     00:00
extras                                                                                           | 3.4 kB     00:00
extras/primary_db                                                                                |  19 kB     00:00
updates                                                                                          | 3.4 kB     00:00
updates/primary_db                                                                               | 2.6 MB     00:00
Installed Packages
acl.x86_64                                    2.2.49-6.el6                                   @CentOS/$releasever
attr.x86_64                                   2.4.44-7.el6                                   @CentOS/$releasever
audit.x86_64                                  2.2-2.el6                                      @CentOS/$releasever
audit-libs.x86_64                             2.2-2.el6                                      @CentOS/$releasever
basesystem.noarch                             10.0-4.el6                                     @CentOS/$releasever
bash.x86_64                                   4.1.2-15.el6_4                                 @CentOS/$releasever
binutils.x86_64                               2.20.51.0.2-5.36.el6                           @CentOS/$releasever
bzip2-libs.x86_64                             1.0.5-7.el6_0                                  @CentOS/$releasever
ca-certificates.noarch                        2013.1.95-65.1.el6_5                           @CentOS-Updates/$releasever
centos-release.x86_64                         6-5.el6.centos.11.2                            @CentOS-Updates/$releasever
checkpolicy.x86_64                            2.0.22-1.el6                                   @CentOS/$releasever
chkconfig.x86_64                              1.3.49.3-2.el6_4.1                             @CentOS/$releasever
coreutils.x86_64                              8.4-31.el6_5.1                                 @CentOS-Updates/$releasever
coreutils-libs.x86_64                         8.4-31.el6_5.1                                 @CentOS-Updates/$releasever
cpio.x86_64                                   2.10-11.el6_3                                  @CentOS/$releasever
cracklib.x86_64                               2.8.16-4.el6                                   @CentOS/$releasever
cracklib-dicts.x86_64                         2.8.16-4.el6                                   @CentOS/$releasever
curl.x86_64                                   7.19.7-37.el6_4                                @CentOS/$releasever
cyrus-sasl-lib.x86_64                         2.1.23-13.el6_3.1                              @CentOS/$releasever
db4.x86_64                                    4.7.25-18.el6_4                                @CentOS/$releasever
db4-utils.x86_64                              4.7.25-18.el6_4                                @CentOS/$releasever
dbus-glib.x86_64                              0.86-6.el6                                     @CentOS/$releasever
dbus-libs.x86_64                              1:1.2.24-7.el6_3                               @CentOS/$releasever
diffutils.x86_64                              2.8.1-28.el6                                   @CentOS/$releasever
e2fsprogs.x86_64                              1.41.12-18.el6                                 @CentOS/$releasever
e2fsprogs-libs.x86_64                         1.41.12-18.el6                                 @CentOS/$releasever
elfutils-libelf.x86_64                        0.152-1.el6                                    @CentOS/$releasever
expat.x86_64                                  2.0.1-11.el6_2                                 @CentOS/$releasever
file-libs.x86_64                              5.04-15.el6                                    @CentOS/$releasever
filesystem.x86_64                             2.4.30-3.el6                                   @CentOS/$releasever
findutils.x86_64                              1:4.4.2-6.el6                                  @CentOS/$releasever
gamin.x86_64                                  0.1.10-9.el6                                   @CentOS/$releasever
gawk.x86_64                                   3.1.7-10.el6                                   @CentOS/$releasever
gdbm.x86_64                                   1.8.0-36.el6                                   @CentOS/$releasever
glib2.x86_64                                  2.26.1-7.el6_5                                 @CentOS-Updates/$releasever
glibc.x86_64                                  2.12-1.132.el6                                 @CentOS/$releasever
glibc-common.x86_64                           2.12-1.132.el6                                 @CentOS/$releasever
gmp.x86_64                                    4.3.1-7.el6_2.2                                @CentOS/$releasever
gnupg2.x86_64                                 2.0.14-6.el6_4                                 @CentOS/$releasever
gpgme.x86_64                                  1.1.8-3.el6                                    @CentOS/$releasever
grep.x86_64                                   2.6.3-4.el6_5.1                                @CentOS-Updates/$releasever
groff.x86_64                                  1.18.1.4-21.el6                                @CentOS/$releasever
gzip.x86_64                                   1.3.12-19.el6_4                                @CentOS/$releasever
hwdata.noarch                                 0.233-9.1.el6                                  @CentOS/$releasever
info.x86_64                                   4.13a-8.el6                                    @CentOS/$releasever
keyutils-libs.x86_64                          1.4-4.el6                                      @CentOS/$releasever
krb5-libs.x86_64                              1.10.3-15.el6_5.1                              @CentOS-Updates/$releasever
less.x86_64                                   436-10.el6                                     @CentOS/$releasever
libacl.x86_64                                 2.2.49-6.el6                                   @CentOS/$releasever
libattr.x86_64                                2.4.44-7.el6                                   @CentOS/$releasever
libblkid.x86_64                               2.17.2-12.14.el6                               @CentOS/$releasever
libcap.x86_64                                 2.16-5.5.el6                                   @CentOS/$releasever
libcom_err.x86_64                             1.41.12-18.el6                                 @CentOS/$releasever
libcurl.x86_64                                7.19.7-37.el6_4                                @CentOS/$releasever
libffi.x86_64                                 3.0.5-3.2.el6                                  @CentOS/$releasever
libgcc.x86_64                                 4.4.7-4.el6                                    @CentOS/$releasever
libgcrypt.x86_64                              1.4.5-11.el6_4                                 @CentOS/$releasever
libgpg-error.x86_64                           1.7-4.el6                                      @CentOS/$releasever
libidn.x86_64                                 1.18-2.el6                                     @CentOS/$releasever
libnih.x86_64                                 1.0.1-7.el6                                    @CentOS/$releasever
libselinux.x86_64                             2.0.94-5.3.el6_4.1                             @CentOS/$releasever
libselinux-utils.x86_64                       2.0.94-5.3.el6_4.1                             @CentOS/$releasever
libsemanage.x86_64                            2.0.43-4.2.el6                                 @CentOS/$releasever
libsepol.x86_64                               2.0.41-4.el6                                   @CentOS/$releasever
libss.x86_64                                  1.41.12-18.el6                                 @CentOS/$releasever
libssh2.x86_64                                1.4.2-1.el6                                    @CentOS/$releasever
libstdc++.x86_64                              4.4.7-4.el6                                    @CentOS/$releasever
libtasn1.x86_64                               2.3-3.el6_2.1                                  @CentOS/$releasever
libusb.x86_64                                 0.1.12-23.el6                                  @CentOS/$releasever
libuser.x86_64                                0.56.13-5.el6                                  @CentOS/$releasever
libutempter.x86_64                            1.1.5-4.1.el6                                  @CentOS/$releasever
libuuid.x86_64                                2.17.2-12.14.el6                               @CentOS/$releasever
libxml2.x86_64                                2.7.6-14.el6                                   @CentOS/$releasever
lua.x86_64                                    5.1.4-4.1.el6                                  @CentOS/$releasever
make.x86_64                                   1:3.81-20.el6                                  @CentOS/$releasever
mingetty.x86_64                               1.08-5.el6                                     @CentOS/$releasever
module-init-tools.x86_64                      3.9-21.el6_4                                   @CentOS/$releasever
ncurses.x86_64                                5.7-3.20090208.el6                             @CentOS/$releasever
ncurses-base.x86_64                           5.7-3.20090208.el6                             @CentOS/$releasever
ncurses-libs.x86_64                           5.7-3.20090208.el6                             @CentOS/$releasever
net-tools.x86_64                              1.60-110.el6_2                                 @CentOS/$releasever
nspr.x86_64                                   4.10.2-1.el6_5                                 @CentOS-Updates/$releasever
nss.x86_64                                    3.15.3-6.el6_5                                 @CentOS-Updates/$releasever
nss-softokn.x86_64                            3.14.3-9.el6                                   @CentOS/$releasever
nss-softokn-freebl.x86_64                     3.14.3-9.el6                                   @CentOS/$releasever
nss-sysinit.x86_64                            3.15.3-6.el6_5                                 @CentOS-Updates/$releasever
nss-tools.x86_64                              3.15.3-6.el6_5                                 @CentOS-Updates/$releasever
nss-util.x86_64                               3.15.3-1.el6_5                                 @CentOS-Updates/$releasever
openldap.x86_64                               2.4.23-34.el6_5.1                              @CentOS-Updates/$releasever
openssl.x86_64                                1.0.1e-16.el6_5.7                              @CentOS-Updates/$releasever
p11-kit.x86_64                                0.18.5-2.el6_5.2                               @CentOS-Updates/$releasever
p11-kit-trust.x86_64                          0.18.5-2.el6_5.2                               @CentOS-Updates/$releasever
pam.x86_64                                    1.1.1-17.el6                                   @CentOS/$releasever
passwd.x86_64                                 0.77-4.el6_2.2                                 @CentOS/$releasever
pcre.x86_64                                   7.8-6.el6                                      @CentOS/$releasever
pinentry.x86_64                               0.7.6-6.el6                                    @CentOS/$releasever
pkgconfig.x86_64                              1:0.23-9.1.el6                                 @CentOS/$releasever
popt.x86_64                                   1.13-7.el6                                     @CentOS/$releasever
procps.x86_64                                 3.2.8-25.el6                                   @CentOS/$releasever
psmisc.x86_64                                 22.6-19.el6_5                                  @CentOS-Updates/$releasever
pth.x86_64                                    2.0.7-9.3.el6                                  @CentOS/$releasever
pygpgme.x86_64                                0.1-18.20090824bzr68.el6                       @CentOS/$releasever
python.x86_64                                 2.6.6-52.el6                                   @CentOS-Updates/$releasever
python-iniparse.noarch                        0.3.1-2.1.el6                                  @CentOS/$releasever
python-libs.x86_64                            2.6.6-52.el6                                   @CentOS-Updates/$releasever
python-pycurl.x86_64                          7.19.0-8.el6                                   @CentOS/$releasever
python-urlgrabber.noarch                      3.9.1-9.el6                                    @CentOS/$releasever
readline.x86_64                               6.0-4.el6                                      @CentOS/$releasever
rootfiles.noarch                              8.1-6.1.el6                                    @CentOS/$releasever
rpm.x86_64                                    4.8.0-37.el6                                   @CentOS/$releasever
rpm-libs.x86_64                               4.8.0-37.el6                                   @CentOS/$releasever
rpm-python.x86_64                             4.8.0-37.el6                                   @CentOS/$releasever
sed.x86_64                                    4.2.1-10.el6                                   @CentOS/$releasever
setup.noarch                                  2.8.14-20.el6_4.1                              @CentOS/$releasever
shadow-utils.x86_64                           2:4.1.4.2-13.el6                               @CentOS/$releasever
shared-mime-info.x86_64                       0.70-4.el6                                     @CentOS/$releasever
sqlite.x86_64                                 3.6.20-1.el6                                   @CentOS/$releasever
sysvinit-tools.x86_64                         2.87-5.dsf.el6                                 @CentOS/$releasever
tcp_wrappers-libs.x86_64                      7.6-57.el6                                     @CentOS/$releasever
tzdata.noarch                                 2014b-1.el6                                    @CentOS-Updates/$releasever
udev.x86_64                                   147-2.51.el6                                   @CentOS/$releasever
ustr.x86_64                                   1.0.4-9.1.el6                                  @CentOS/$releasever
util-linux-ng.x86_64                          2.17.2-12.14.el6                               @CentOS/$releasever
xz-libs.x86_64                                4.999.9-0.3.beta.20091007git.el6               @CentOS/$releasever
yum.noarch                                    3.2.29-43.el6.centos                           @CentOS-Updates/$releasever
yum-metadata-parser.x86_64                    1.1.2-16.el6                                   @CentOS/$releasever
yum-plugin-fastestmirror.noarch               1.1.30-17.el6_5                                @CentOS-Updates/$releasever
zlib.x86_64                                   1.2.3-29.el6                                   @CentOS/$releasever
bash-4.1## rpm -qa| wc
    128     128    3935
bash-4.1#