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:
AJ Fuhrmann 2024-03-18 09:46:27 -04:00 committed by GitHub
parent c47c293c96
commit c536c8bbaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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" >}}