nunofernandes / docker-centos7-32bits

Docker Centos 7 32bits
GNU General Public License v2.0
1 stars 2 forks source link

centos-7-32bits Docker Image

This dockerfile creates a centos 7 32 bits image.

--

1) Create the image

git clone https://github.com/nunofernandes/docker-centos7-32bits-scratch
cd docker-centos7-32bits-scratch
        docker build -t centos7-32-build .
        docker run -it --privileged --name=centos7-32-run centos7-32-build
        docker export  centos7-32-run | tar xv tmp/centos7*bz2
cd ..

2) Create a usable centos 7 32 bits image

git clone https://github.com/nunofernandes/docker-centos7-32bits
cd docker-centos7-32bits
    mv ../docker-centos7-32bits-scratch/tmp/centos7-*bz2 .
    docker build -t centos7-32 .
cd ..

3) Run the image

$ docker run -ti centos7-32 /bin/bash
[root@6d0a00ff6362 /]# uname -m
i686
[root@6d0a00ff6362 /]# cat /etc/redhat-release 
CentOS Linux release 7.2.1511 (AltArch) 
[root@6d0a00ff6362 /]# rpm -qf /bin/bash
bash-4.2.46-19.el7.i686

License

This code is licensed under the GPLv2.