Handle abs path for rootfs in oci hook#2418
Conversation
Fixes containerd#2412 Signed-off-by: Michael Crosby <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2418 +/- ##
=======================================
Coverage 45.03% 45.03%
=======================================
Files 92 92
Lines 9407 9407
=======================================
Hits 4236 4236
Misses 4488 4488
Partials 683 683
Continue to review full report at Codecov.
|
|
LGTM |
|
I am confused how to use this with the But when I give a RootFS in the command line, it seems to be interpreted as an image and I get an error like |
|
@alban from the original issue report, you need the |
|
ping @alban were you able to get this working? |
|
@estesp @dmcgowan Thanks! I got it working :) For the record, here are the notes of my test: DetailsI was looking for a way to give both `rootfs` and `config.json` on the command line.The use case is for runtime-tools: it creates a unique temporary directory such as
The rootfs is If The command that worked was: |
Fixes #2412
Signed-off-by: Michael Crosby [email protected]