Skip to content

nunofernandes/docker-centos7-32bits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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 ..
  1. 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 ..
  1. 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.

About

Docker Centos 7 32bits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published