Skip to content

Commit

Permalink
run/runc: Set libcontainer's cache directory relatively
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Jung <a.jung@lancs.ac.uk>
  • Loading branch information
nderjung committed Dec 30, 2020
1 parent b907d69 commit de07ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/runc.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (r *RuncRunner) Init(in *[]Input, out *[]Output, dryRun bool) error {
r.log.Debug("Initialising runc container...")

factory, err := libcontainer.New(
"/var/lib/container",
path.Join(r.Config.CacheDir, "libcontainer"),
libcontainer.Cgroupfs,
libcontainer.InitArgs(os.Args[0], "runc-init"),
)
Expand Down

0 comments on commit de07ec8

Please sign in to comment.