hi,
I've just pushed to cloud.centos.org a test build for a CentOS-6-x86_64 docker image. Please test and provide feedback. The image is hosted at http://cloud.centos.org/centos/6/devel/ and is called : CentOS-6.5-x86_64-GA-docker_01.img.tar.bz2
sha256sum for this file: dab02fd8eafa80995830d0bacdf6a7ae6bcad8cd94af6f71c747dc861ebb77d9
---- Known Issues: * Need to run rpm --rebuilddb inside the container once, otherwise yum is largely non functional. * There seem to be some selinux issues ( afaict, leaving libselinux intact would fix that )
---- Using this image: (with epel enabled, on your CentOS-6.5/x86_64 host ): # yum install docker-io # /sbin/service docker start # docker import http://cloud.centos.org/centos/6/devel/CentOS-6.5-x86_64-GA-docker_01.img.ta... c65_x64 test1 # docker images ( you should see the image listed ) # docker run -t -i <image id> /bin/bash ( you should now be inside the container ) bash-4.1# rpm --rebuilddb
---- Contributing changes: please send pull requests via: https://github.com/CentOS/sig-cloud-instance-build
regards,
I've uploaded this image to the registry as stpierre/centos6:latest, so you can also test by doing:
docker run -t -i stpierre/centos6 /bin/bash
Or in your Dockerfile:
FROM stpierre/centos6
On Mon, Mar 31, 2014 at 8:01 PM, Karanbir Singh kbsingh@centos.org wrote:
hi,
I've just pushed to cloud.centos.org a test build for a CentOS-6-x86_64 docker image. Please test and provide feedback. The image is hosted at http://cloud.centos.org/centos/6/devel/ and is called : CentOS-6.5-x86_64-GA-docker_01.img.tar.bz2
sha256sum for this file: dab02fd8eafa80995830d0bacdf6a7ae6bcad8cd94af6f71c747dc861ebb77d9
Known Issues:
- Need to run rpm --rebuilddb inside the container once, otherwise yum
is largely non functional.
- There seem to be some selinux issues ( afaict, leaving libselinux
intact would fix that )
Using this image: (with epel enabled, on your CentOS-6.5/x86_64 host ): # yum install docker-io # /sbin/service docker start # docker import
http://cloud.centos.org/centos/6/devel/CentOS-6.5-x86_64-GA-docker_01.img.ta... c65_x64 test1 # docker images ( you should see the image listed ) # docker run -t -i <image id> /bin/bash ( you should now be inside the container ) bash-4.1# rpm --rebuilddb
Contributing changes: please send pull requests via: https://github.com/CentOS/sig-cloud-instance-build
regards,
-- Karanbir Singh, Project Lead, The CentOS Project +44-207-0999389 | http://www.centos.org/ | twitter.com/CentOS GnuPG Key : http://www.karan.org/publickey.asc _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org http://lists.centos.org/mailman/listinfo/centos-devel
On Tue, Apr 01, 2014 at 01:01:54AM +0100, Karanbir Singh wrote:
Known Issues:
- There seem to be some selinux issues ( afaict, leaving libselinux
intact would fix that )
*Inside* the container, or from outside? selinux isn't namespaced and so can't work inside.
On Tue, Apr 1, 2014 at 8:07 AM, Matthew Miller mattdm@mattdm.org wrote:
On Tue, Apr 01, 2014 at 01:01:54AM +0100, Karanbir Singh wrote:
Known Issues:
- There seem to be some selinux issues ( afaict, leaving libselinux
intact would fix that )
*Inside* the container, or from outside? selinux isn't namespaced and so can't work inside.
It should only be inside the container -- I tore out the SELinux stuff for precisely this reason, so I wouldn't expect it to work inside.
On 04/01/2014 01:19 PM, Chris St. Pierre wrote:
On Tue, Apr 1, 2014 at 8:07 AM, Matthew Miller <mattdm@mattdm.org mailto:mattdm@mattdm.org> wrote:
On Tue, Apr 01, 2014 at 01:01:54AM +0100, Karanbir Singh wrote: > Known Issues: > * There seem to be some selinux issues ( afaict, leaving libselinux > intact would fix that ) *Inside* the container, or from outside? selinux isn't namespaced and so can't work inside.
It should only be inside the container -- I tore out the SELinux stuff for precisely this reason, so I wouldn't expect it to work inside.
with selinux enforcing outside the container - nothing works inside the container, failing with libselinux errors.
On Tue, Apr 01, 2014 at 02:20:03PM +0100, Karanbir Singh wrote:
It should only be inside the container -- I tore out the SELinux stuff for precisely this reason, so I wouldn't expect it to work inside.
with selinux enforcing outside the container - nothing works inside the container, failing with libselinux errors.
I know the policy needed updating for Fedora. I assume that these changes will eventually make their way through.
On 04/01/2014 02:25 PM, Matthew Miller wrote:
On Tue, Apr 01, 2014 at 02:20:03PM +0100, Karanbir Singh wrote:
It should only be inside the container -- I tore out the SELinux stuff for precisely this reason, so I wouldn't expect it to work inside.
with selinux enforcing outside the container - nothing works inside the container, failing with libselinux errors.
I know the policy needed updating for Fedora. I assume that these changes will eventually make their way through.
so, are we saying that docker-io cant be used on centos, at-all, with selinux enabled on the host machine ?
On 04/01/2014 01:01 AM, Karanbir Singh wrote:
CentOS-6.5-x86_64-GA-docker_02.img.tar.bz2 is now available with sum cfb0a56cafd964f8d62c118a9ec549e4183c72a69200c10b079f41860eb6e197
implementing : https://github.com/CentOS/sig-cloud-instance-build/commit/6498767cd7f4cbf441...