containerd/cmd/ctr/commands
Stephen J Day ed72059fac
cmd/snapshots: add gc.root to created snapshots
This adds gc.root label to snapshots created with prepare and commit via
the CLI. WIthout this, created snapshots get immediately garbage
collected. There may be a better solution but this seems to be a solid
stop gap.

We may also need to add more functionality around snapshot labeling for
the CLI but current use cases are unclear.

Signed-off-by: Stephen J Day <stevvooe@gmail.com>
2018-05-03 07:09:38 +02:00
..
containers Licence header added 2018-02-19 10:32:26 +09:00
content allow content to be pulled for specific platform(s), all platforms 2018-03-12 17:31:42 -07:00
events Correctly handle reading from events channel 2018-04-25 11:21:22 -04:00
images Merge pull request #2200 from jessvalarezo/multiarch-pulls 2018-03-14 14:46:30 -07:00
namespaces Licence header added 2018-02-19 10:32:26 +09:00
plugins Licence header added 2018-02-19 10:32:26 +09:00
pprof Licence header added 2018-02-19 10:32:26 +09:00
run ctr: fix --mount help message 2018-04-17 18:29:33 -07:00
shim Switch from x/net/context to context 2018-04-24 14:33:34 -07:00
snapshots cmd/snapshots: add gc.root to created snapshots 2018-05-03 07:09:38 +02:00
tasks Allow to checkpoint and restore a container with console 2018-04-28 01:06:42 +03:00
version Licence header added 2018-02-19 10:32:26 +09:00
client.go Licence header added 2018-02-19 10:32:26 +09:00
commands.go Add --pid-file to ctr 2018-02-20 15:10:50 -05:00
resolver.go Licence header added 2018-02-19 10:32:26 +09:00
signal_map_linux.go Licence header added 2018-02-19 10:32:26 +09:00
signal_map_unix.go Licence header added 2018-02-19 10:32:26 +09:00
signal_map_windows.go Licence header added 2018-02-19 10:32:26 +09:00
signals.go Licence header added 2018-02-19 10:32:26 +09:00