dwmkerr / dwmkerr/node-docker-microservice

[Blog] Use long options in examples

Open
#3 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
171
Forks
89
PR merge metrics
No merged PRs in 30d

Description

Thanks for this write up, I am enjoying going through it!

Since this is a post that is intended to teach may I suggest you use long options instead of short options. This would also save some explaining on what the short options are. It is self documenting to use long options (most of the time).

e.g.

```
docker run --name db -e MYSQL_ROOT_PASSWORD=123 -p 3306:3306 mysql:latest
```

```
docker run --name db --env=[MYSQL_ROOT_PASSWORD=123] --publish=3306:3306 mysql:latest
```

Also, step #3 for the command above discusses the --detach command but it isn't in the example.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.