Skip to content

Commit cad7a7f

Browse files
authored
update: change the dot of docker build command to middle (#3783)
Placing the dot at the end of command is sometimes misleading. Readers may confuse it with a full stop notation.
1 parent d2042c8 commit cad7a7f

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

locale/en/docs/guides/nodejs-docker-webapp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ build the Docker image. The `-t` flag lets you tag your image so it's easier to
184184
find later using the `docker images` command:
185185

186186
```bash
187-
docker build -t <your username>/node-web-app .
187+
docker build . -t <your username>/node-web-app
188188
```
189189

190190
Your image will now be listed by Docker:

locale/es/docs/guides/nodejs-docker-webapp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ This will prevent your local modules and debug logs from being copied onto your
153153
Go to the directory that has your `Dockerfile` and run the following command to build the Docker image. The `-t` flag lets you tag your image so it's easier to find later using the `docker images` command:
154154

155155
```bash
156-
docker build -t <your username>/node-web-app .
156+
docker build . -t <your username>/node-web-app
157157
```
158158

159159
Your image will now be listed by Docker:

locale/fr/docs/guides/nodejs-docker-webapp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ This will prevent your local modules and debug logs from being copied onto your
153153
Go to the directory that has your `Dockerfile` and run the following command to build the Docker image. The `-t` flag lets you tag your image so it's easier to find later using the `docker images` command:
154154

155155
```bash
156-
docker build -t <your username>/node-web-app .
156+
docker build . -t <your username>/node-web-app
157157
```
158158

159159
Your image will now be listed by Docker:

locale/ja/docs/guides/nodejs-docker-webapp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ build the Docker image. The `-t` flag lets you tag your image so it's easier to
368368
find later using the `docker images` command:
369369
370370
```bash
371-
docker build -t <your username>/node-web-app .
371+
docker build . -t <your username>/node-web-app
372372
```
373373
374374
Your image will now be listed by Docker:
@@ -390,7 +390,7 @@ node 12 1934b0b038d1 5 days ago
390390
後で `docker images` コマンドを使って見つけやすくなります。
391391

392392
```bash
393-
docker build -t <your username>/node-web-app .
393+
docker build . -t <your username>/node-web-app
394394
```
395395

396396
あなたのイメージは Docker によって表示されます。

locale/ko/docs/guides/nodejs-docker-webapp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ build the Docker image. The `-t` flag lets you tag your image so it's easier to
370370
find later using the `docker images` command:
371371
372372
```bash
373-
docker build -t <your username>/node-web-app .
373+
docker build . -t <your username>/node-web-app
374374
```
375375
376376
Your image will now be listed by Docker:
@@ -392,7 +392,7 @@ node 8 1934b0b038d1 5 days ago
392392
쉽게 찾을 수 있습니다.
393393

394394
```bash
395-
docker build -t <your username>/node-web-app .
395+
docker build . -t <your username>/node-web-app
396396
```
397397

398398
Docker가 당신이 빌드한 이미지를 보여줄 것입니다.

locale/ro/docs/guides/nodejs-docker-webapp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ This will prevent your local modules and debug logs from being copied onto your
153153
Go to the directory that has your `Dockerfile` and run the following command to build the Docker image. The `-t` flag lets you tag your image so it's easier to find later using the `docker images` command:
154154

155155
```bash
156-
docker build -t <your username>/node-web-app .
156+
docker build . -t <your username>/node-web-app
157157
```
158158

159159
Your image will now be listed by Docker:

locale/ru/docs/guides/nodejs-docker-webapp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ npm-debug.log
190190
`docker images`:
191191

192192
```bash
193-
docker build -t <your username>/node-web-app .
193+
docker build . -t <your username>/node-web-app
194194
```
195195

196196
Созданный образ теперь будет отображаться в списке всех образов:

locale/zh-cn/docs/guides/nodejs-docker-webapp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ npm-debug.log
154154
进入到 `Dockerfile` 所在的那个目录中,运行以下命令构建 Docker 镜像。开关符 `-t` 让你标记你的镜像,以至于让你以后很容易地用 `docker images` 找到它。
155155

156156
```bash
157-
docker build -t <your username>/node-web-app .
157+
docker build . -t <your username>/node-web-app
158158
```
159159

160160
Docker 现在将给出你的镜像列表:

0 commit comments

Comments
 (0)