-
Notifications
You must be signed in to change notification settings - Fork 79
acbuild creates /dev/stdin /dev/stdout and /dev/stderr on build but rkt does not on run #261
Comments
Interesting. Maybe an Also just so I understand the use case better, why does your application need these files to exist? |
hi @dgonyeo, Thanks for the reply! The application writes messages out to There is a lot of discussion of this sort of issue in the docker world (here as an example: moby/moby#8755) Thanks! |
Now that I've thought of it I would like to create an |
And crosslinking this: rkt/rkt#3294 |
The |
When building container images with acbuild. acbuild automatically creates /dev/std* in the container for each
acbuild run
command:However, rkt does not create these links in the running container:
This creates issues actually adding in those links for applications that need it:
Even worse, If you force it with
-f
, acbuild will remove the link you create (I assume under the assumption that it created it).In the end I wound up using COPY:
But it took some time to figure out that I could do that, and was quite confusing. This becomes even more of a problem if you need to create a link that does not exist in your current system (something like
/dev/console
to/dev/std(in|out)
for systemd). Then you have to keep a copy of the link you need in your repo and copy that in.Thanks!
The text was updated successfully, but these errors were encountered: