I am creating a .tar file base on a docker container and need to update one file (/etc/hosts). Therefore I am running the following commands:
tar --delete -f data.tar etc/hoststar --update -f data.tar etc/hosts
The output I get from the pipeline is the following (and this results in am unfinished tar file):

What could be the issue here?
Here you can see a more detailed screenshots of the steps undertaken:
