2014-12-19

docker -- SliTaz base image

SliTaz base image
root@boot2docker:~# docker run mastersrp/slitaz-core slitaz
exec format error2014/12/3 21:47:32 Error response from daemon: Cannot start container 01a8cfb9e3467cbfe7a8a6d9a95d7af7c9b836a194b3fa5482016c003fcb725e: exec format error
1.
root@boot2docker:~# docker search slitaz
NAME                    DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
slitaz/slitaz-base      SliTaz base image.                              0
mastersrp/slitaz-core   A 32bit version of the core SliTaz system ...   0

2.
root@boot2docker:~# docker pull slitaz/slitaz-base
Pulling repository slitaz/slitaz-base
0bd2fd062ec7: Download complete
511136ea3c5a: Download complete
9009fa2b6f5b: Download complete
Status: Downloaded newer image for slitaz/slitaz-base:latest

3.
root@boot2docker:~# docker images
REPOSITORY           TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
slitaz/slitaz-base   latest              0bd2fd062ec7        49 minutes ago      8.778 MB

4.
root@boot2docker:~# docker run slitaz/slitaz-base slitaz
SliTaz GNU/Linux
================================================================================
Release : cooking
Architecture : x86_64
Kernel : 3.16.7-slitaz
Boot options : loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base
Home path : /home/slitaz
Configs : /etc/slitaz
Log files : /var/log/slitaz
Packages DB : /var/lib/tazpkg
Installed : 18 packages
Mirror : /var/www/slitaz/x86_64/packages/
================================================================================
Config file: /etc/slitaz/slitaz.conf

5.
root@boot2docker:~# docker run -i -t slitaz/slitaz-base
/ # slitaz

SliTaz GNU/Linux
================================================================================
Release : cooking
Architecture : x86_64
Kernel : 3.16.7-slitaz
Boot options : loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base
Home path : /home/slitaz
Configs : /etc/slitaz
Log files : /var/log/slitaz
Packages DB : /var/lib/tazpkg
Installed : 18 packages
Mirror : /var/www/slitaz/x86_64/packages/
================================================================================
Config file: /etc/slitaz/slitaz.conf

6.
/ # spk info
Spk info
================================================================================
Architecture : x86_64
Database : /var/lib/tazpkg/installed
Cache info : 0 /var/cache/tazpkg
Mirror URL : /var/www/slitaz/x86_64/packages/
Extra mirrors : 0
Installed : 18
================================================================================

7.
/ # cat /var/lib/tazpkg/installed.md5

89d7b86ca37af0c5746026fd937988fc  busybox-1.21.1-x86_64.tazpkg
15b6462db63b8210b004a828f9a50bd3  dialog-1.1-20110707-x86_64.tazpkg
4fd342a79636f9eaed67969a318f900b  dropbear-2013.60-x86_64.tazpkg
a9cde0c95f41ec586126756a7eb776ff  gcc-lib-base-4.6.3-x86_64.tazpkg
d125b9760c812f5ebbacd646f7dcb9e3  gettext-base-0.18.3-x86_64.tazpkg
9604ba1cdf90e7e4d51cbd323cd5196b  glibc-base-2.13-x86_64.tazpkg
cf0916594676211e54d62fd34a37423d  nano-2.2.6-x86_64.tazpkg
7bfa71e3c6c504205b00a1e0bd186866  ncurses-5.9-x86_64.tazpkg
ea531de27a5879627d60918c8547bcc1  ncurses-common-5.9-x86_64.tazpkg
4c2262ad1c2967f22fae48c676632881  ncursesw-5.9-x86_64.tazpkg
6a55e8bb0aa9c0c697bf04ecf4105ef5  retawq-0.2.6c-x86_64.tazpkg
d8581b25420a0354bd2ed5f08af162ef  slitaz-base-files-5.4.2-x86_64.tazpkg
e9ccbca78b4263d28ef1f16007c5a830  slitaz-boot-scripts-5.3.3-x86_64.tazpkg
864ba88bf6bff85a08b0f43ae0fca7cb  tazpkg-5.1-x86_64.tazpkg
838a2813c19c2d5e85953cf170f98884  ytree-1.97-x86_64.tazpkg
f1e53b247bb72fcdfd225c89f93a7e71  zlib-1.2.8-x86_64.tazpkg
9afd31e45388e5b36364458d53a682e3  util-linux-uuid-2.21.1-x86_64.tazpkg
2e2cd1a2e890b840e5cbc637e7ddd5a3  util-linux-blkid-2.21.1-x86_64.tazpkg

8.
/ # du -sh /
9.1M /
/ # exit

root@boot2docker:~# du -sh /
117.2M /