Update 05_persisting_data.md

An extra space space after:
--mount type=volume,src=todo-db,
gives the following error:
invalid argument "type=volume,src=todo-db" for "--mount" flag: target is required
See 'docker run --help'.
This commit is contained in:
Sudarshan MG 2024-04-12 11:06:06 +05:30 committed by GitHub
parent 3daba311f7
commit 19b3f62859
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ You can create the volume and start the container using the CLI or Docker Deskto
> If you're using Git Bash, you must use different syntax for this command.
>
> ```console
> $ docker run -dp 127.0.0.1:3000:3000 --mount type=volume,src=todo-db, target=//etc/todos getting-started
> $ docker run -dp 127.0.0.1:3000:3000 --mount type=volume,src=todo-db,target=//etc/todos getting-started
> ```
>
> For more details about Git Bash's syntax differences, see