WithNewSnapshotView allocates a new snapshot to be used by the container as the root filesystem in read-only mode
(id string, i Image, opts ...snapshots.Opt)
| 246 | // WithNewSnapshotView allocates a new snapshot to be used by the container as the |
| 247 | // root filesystem in read-only mode |
| 248 | func WithNewSnapshotView(id string, i Image, opts ...snapshots.Opt) NewContainerOpts { |
| 249 | return withNewSnapshot(id, i, true, opts...) |
| 250 | } |
| 251 | |
| 252 | func withNewSnapshot(id string, i Image, readonly bool, opts ...snapshots.Opt) NewContainerOpts { |
| 253 | return func(ctx context.Context, client *Client, c *containers.Container) error { |
searching dependent graphs…