Welcome to the Linux Foundation Forum!

Labs Exercise 9.1 Step 10 got empty result!

Options

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

  • chrispokorni
    chrispokorni Posts: 2,190
    Options

    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:

    Shelbystudent@my-machine:~$

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

    Regards,
    -Chris

  • zhangwe
    zhangwe Posts: 45
    Options

    Hi Chris,

    Thank you. I will check it.

    Wei

Categories

Upcoming Training