You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2020. It is now read-only.
Neither "acbuild copy" nor commands started with "acbuild run" cannot make any changes on /tmp
$ acbuild run -- touch /tmp/xxx
Running: [touch /tmp/xxx]
$ acbuild run -- ls -l /tmp
Running: [ls -l /tmp]
total 0
To be honest I do not know much on how containers work so maybe that whole tempfs thing lives only for the duration of the command in which case it is an expected behaviour. This theory is supported by
$ acbuild run -- bash -c 'touch /tmp/xxx; ls -l /tmp'
Running: [bash -c touch /tmp/xxx; ls -l /tmp]
total 0
-rw-r--r-- 1 root root 0 Nov 29 09:37 xxx
But maybe it makes sense to put this in docs / FAQ too then? Because /tmp is a typical choice of downloading something before installing it so can save people some time
(I searched first - https://github.com/containers/build/search?utf8=%E2%9C%93&q=tmp)