-
Notifications
You must be signed in to change notification settings - Fork 94
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
Could not build dockerfile for step1 - systemd installation failed #1
Comments
Hm, too bad step 1 immediately fails :-( Op Sun Dec 14 2014 at 20:28:32 schreef damovsky [email protected]:
|
From my point of view, the docker build fails since it requires some special rights (set_file)...this could be solved by running docker build with privileged mode, but there is no such a privileged mode for docker build. So I have to run the container manually with privileged mode and execute all commands from Dockerfile manually I found related issue here I wonder how you could build the step1 on your machine...strange :-( |
This error is noticeable in boot2docker. The build works fine in CoreOS though. |
@sjoerd-michels Did you make this container work using CoreOS instead of Oracle Linux ? |
@damovsky Systemd is updated when installing other packages. When he built the machine, the systemd update was probably still not released. |
After looking around a while, this seems to me a Docker issue. |
I observe that by default Debian uses the aufs storage driver, meanwhile in CentOS the devicemapper one is used. |
Anyone has workaround this? Same issue in my Ubuntu 14.04 |
Hello, my workaround was to upgrade the base container inside a RHEL 7 VM. This is an issue relating to the storage driver Docker is using. |
thx, would give me more detailed instruction on this? 发自nubia手机 Jose Antonio Insua [email protected]编写:
|
I hit the same issue and tried to sidestep it by using a CoreOS docker host, but that also failed #4 ... :-( |
The same happened to me (using boot2docker on MacOS), have a look at http://pkgfarm.tumblr.com/post/114104687791/fixing-yum-install-on-boot2docker
|
Fix for Ubuntu host: |
@Oro Thanks! Works here as well (same setup as you, boot2docker and MacOS). I also did a boot2docker destroy and boot2docker init to reclaim disk space. |
Steps to reproduce:
this failed on error:
I found those logs in console:
The text was updated successfully, but these errors were encountered: