Skip to content

Commit dddeb5a

Browse files
committed
reformat "get started" 06 - bind-mounts
The "docker build" example was written as an in-line example, but directly followed by a full-stop at the end of the sentence, which made it easy to confuse the extra `.` to be part of the command to run. This moves it to a code block to allow the example to be highlighted, and less confusing. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent db82a18 commit dddeb5a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

get-started/06_bind_mounts.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ So, let's do it!
6666
running `yarn install` to install _all_ dependencies and then running `yarn run dev`. If we look in the `package.json`,
6767
we'll see that the `dev` script is starting `nodemon`.
6868

69-
3. You can watch the logs using `docker logs -f <container-id>`. You'll know you're ready to go when you see this:
69+
3. You can watch the logs using `docker logs`. You'll know you're ready to go when you see this:
7070

7171
```console
7272
$ docker logs -f <container-id>
@@ -96,7 +96,11 @@ So, let's do it!
9696
{: .text-center }
9797

9898
6. Feel free to make any other changes you'd like to make. When you're done, stop the container and build your new image
99-
using `docker build -t getting-started .`.
99+
using:
100+
101+
```console
102+
$ docker build -t getting-started .
103+
```
100104

101105
Using bind mounts is _very_ common for local development setups. The advantage is that the dev machine doesn't need to have
102106
all of the build tools and environments installed. With a single `docker run` command, the dev environment is pulled and ready

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy