Welcome to the new Linux Foundation Forum!

Labs Exercise 9.1 Step 10 got empty result!

Hello,

For this Lab, I checked all steps.
When I run "kubectl exec shell-demo -- /bin/bash -c 'cat /etc/cars/car.trim'", I got an empty result.
I checked inside the container, the files are there.

Could someone check the Lab?

Thanks,

Wei

Answers

  • chrispokornichrispokorni Posts: 388

    Hi Wei,

    Is it possible that the output and the new line prompt ended up concatenated (as expected) and it may have been difficult to notice?
    Typically, the output looks something similar to this:

    [email protected]:~$

    ... where only Shelby is the expected output, while stundet...:~$ is your prompt.

    Regards,
    -Chris

  • zhangwezhangwe Posts: 27

    Hi Chris,

    Thank you. I will check it.

    Wei

Sign In or Register to comment.