You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tar cf - container.json | crictl exec -i e5d tar xf - -C /tmp/
tar: invalid tar magic
FATA[0000] execing command in container: command terminated with exit code 1
ref:https://kubernetes.io/zh-cn/docs/reference/kubectl/generated/kubectl_cp/
use kubectl cp have same problem.
but use pipe it works well #276
The text was updated successfully, but these errors were encountered:
ningmingxiao
changed the title
kubectl/crictl cp failed invalid tar magic
kubectl/crictl cp failed with error invalid tar magic
Oct 23, 2024
tar cf - container.json | crictl exec -i e5d tar xf - -C /tmp/
tar: invalid tar magic
FATA[0000] execing command in container: command terminated with exit code 1
ref:https://kubernetes.io/zh-cn/docs/reference/kubectl/generated/kubectl_cp/
use kubectl cp have same problem.
but use pipe it works well #276
The text was updated successfully, but these errors were encountered: