docs
docs copied to clipboard
Possible error for the docker container run command
Is this a docs issue?
- [X] My issue is about the documentation content or website
Type of issue
Information is incorrect
Description
In the Allocate a pseudo-TTY (-t, --tty) exists the following paragraph:
If you run this command with only the -i flag (which lets you send text to STDIN of the container), the passwd prompt displays the password in plain text. However, if you try the same thing but also adding the -t flag, the password is hidden
And follows the following code block:
$docker run -i debian passwd root
New password:
Retype new password:
passwd: password updated successfully
Problem: The code does not reflect the following part:
- However, if you try the same thing but also adding the -t flag, the password is hidden
Location
https://docs.docker.com/reference/cli/docker/container/run/#tty
Suggestion
No response