Skip to content

Commit

Permalink
Merge pull request #132 from ktock/no-run-mount
Browse files Browse the repository at this point in the history
Do not mount tmpfs on /run
  • Loading branch information
ktock authored Sep 14, 2023
2 parents b3e540b + 1a12d50 commit 61ce71b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/create-spec/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ func generateSpec(config spec.Image, rootfs string) (_ *specs.Spec, err error) {
}
s, err := ctdoci.GenerateSpecWithPlatform(ctdCtx, nil, p, &ctdcontainers.Container{},
ctdoci.WithHostNamespace(specs.NetworkNamespace),
ctdoci.WithoutRunMount,
)
if err != nil {
return nil, fmt.Errorf("failed to generate spec: %w", err)
Expand Down

0 comments on commit 61ce71b

Please sign in to comment.