mirror of https://github.com/docker/docs.git
Fix verification command
Make the cat command check for the file that the user created. In the current version, the user makes a file called 'greeting.txt' but then checks for a file called 'greetings.txt'.
This commit is contained in:
parent
c47c293c96
commit
c536c8bbaf
|
@ -41,13 +41,13 @@ What you'll see is that the file created in one container isn't available in ano
|
|||
file does not exist.
|
||||
|
||||
```console
|
||||
$ docker run alpine cat greetings.txt
|
||||
$ docker run alpine cat greeting.txt
|
||||
```
|
||||
|
||||
You should see output similiar to the following that indicates the file does not exist in the new container.
|
||||
|
||||
```console
|
||||
cat: can't open 'greetings.txt': No such file or directory
|
||||
cat: can't open 'greeting.txt': No such file or directory
|
||||
```
|
||||
|
||||
5. Go ahead and remove the containers using `docker ps --all` to get the IDs,
|
||||
|
@ -206,4 +206,4 @@ Related information:
|
|||
|
||||
Next, you'll learn how you can develop your app more efficiently using bind mounts.
|
||||
|
||||
{{< button text="Use bind mounts" url="06_bind_mounts.md" >}}
|
||||
{{< button text="Use bind mounts" url="06_bind_mounts.md" >}}
|
||||
|
|
Loading…
Reference in New Issue