OFFICIAL REPO の存在しないCentOSバージョンを以下の方法でビルドしたものです
http://knowledge.sakura.ad.jp/tech/2226/
---make example(CentOS 6.5)---
※なお、yumリポジトリは以下の設定を使用
baseurl=http://vault.centos.org/6.5/os/x86_64/
mkdir centos6.5
yum -c centos6.5.yum.conf --installroot=/root/docker-image/centos6.5 -y groupinstall Core
cd centos6.5/dev/
mknod -m 666 null c 1 3
mknod -m 666 zero c 1 5
mknod -m 666 random c 1 8
mknod -m 666 urandom c 1 9
mkdir -m 755 pts
mkdir -m 1777 shm
mknod -m 666 tty c 5 0
mknod -m 666 tty0 c 4 0
mknod -m 666 tty1 c 4 1
mknod -m 666 tty2 c 4 2
mknod -m 666 tty3 c 4 3
mknod -m 666 tty4 c 4 4
mknod -m 600 console c 5 1
mknod -m 666 full c 1 7
mknod -m 600 initctl p
mknod -m 666 ptmx c 5 2
cd ../
tar -c . | docker import - centos:6.5
Content type
Image
Digest
Size
285.2 MB
Last updated
over 9 years ago
docker pull moremagic/centos:5.7