-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Official CentOS base image #290
Comments
@unclejack would you like to contribute the recipe for your CentOS base, so we can make it official? |
Yes, it's not a problem. We just need to get it working and then I can write it down as a script. |
Here's a build script contributed by @unclejack: #!/bin/bash
MIRROR_URL="http://centos.netnitco.net/6.4/os/x86_64/"
MIRROR_URL_UPDATES="http://centos.netnitco.net/6.4/updates/x86_64/"
yum install -y febootstrap xz
febootstrap -i bash -i coreutils -i tar -i bzip2 -i gzip -i vim-minimal -i wget -i patch -i diffutils -i iproute -i yum centos centos64 $MIRROR_URL -u $MIRROR_URL_UPDATES
touch centos64/etc/resolv.conf
touch centos64/sbin/init
tar --numeric-owner -Jcpf centos-64.tar.xz -C centos64 . We'll need someone from the registry team to build it and publish it as base:centos-6.4 |
@unclejack should we wait for #194 before uploading? |
Thank you so much unclejack. Your little script is awesome! |
@mzdaniel You're welcome. |
@unclejack let us know when you've played with creack/centos and think it's good to go. We'll promote it to base:centos |
@shykes I'll prepare a set of tests for it so it can be validated. |
@shykes I've used the CentOS image a bit more and I haven't encountered problems. It could be moved to the official repo. |
@unclejack just to confirm, you're talking about image id 539c0211cd76cdeaedbecf9f023ef774612e331137ce7ebe4ae1b61088e7edbe ? |
@shykes Yes, that's the image I was talking about. |
This image can now be pulled by running:
|
👍 Note that we can use tags to expose multiple versions. 'docker run centos' will automatically use the 'latest' tag, but you can also 'docker run centos:6.4' |
Thanks for the recipe @unclejack ! |
@shykes You're welcome! |
Disclaimer: I’m fairly new to Linux.
But it doesn’t have the |
@gasi You have to install the passwd package with |
Thanks @unclejack! On Fri, May 31, 2013 at 3:31 PM, unclejack notifications@github.com wrote:
|
@unclejack @shykes Confirmed that works. Thanks 👍 |
@unclejack, which version of febootstrap is that script designed for? (It uses a number of options not present in modern builds as documented at http://libguestfs.org/febootstrap.8.html) |
@charles-dyfis-net You need to use CentOS 6.x to build the image. |
It is not allowed to specify a parent cgroup which is "FROZEN". fix DTS2017051801560 fix moby#290 Signed-off-by: Yuanhong Peng <pengyuanhong@huawei.com>
Update docs for `--cgroup-parent` flag It is not allowed to specify a parent cgroup which is "FROZEN". fix DTS2017051801560 fix moby#290 Signed-off-by: Yuanhong Peng <pengyuanhong@huawei.com> See merge request docker/docker!474
upgrade tini version
In addition to the current Ubuntu base image, it would be nice to provide an official CentOS base image in the registry. Several people are already importing their own bases, and a reference base image would save bandwidth and facilitate sharing and re-use.
The text was updated successfully, but these errors were encountered: