Skip to content

Commit

Permalink
Merge pull request #93 from coolapker/main
Browse files Browse the repository at this point in the history
Correction option description
  • Loading branch information
guangzhengli committed Oct 27, 2023
2 parents 98b6799 + 4e70db4 commit 374008f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ docker images
# guangzhengli/hellok8s v1 f956e8cf7d18 8 days ago 25.4MB
```

`docker build` 命令完成后我们可以通过 `docker images` 命令查看镜像是否 build 成功,最后我们执行 `docker run` 命令将容器启动, `-p` 指定 `3000` 作为端口,`-d` 指定刚打包成功的镜像名称
`docker build` 命令完成后我们可以通过 `docker images` 命令查看镜像是否 build 成功,最后我们执行 `docker run` 命令将容器启动, `-p` 指定 `3000` 作为端口,`-d` 指定容器后台运行

```shell
docker run -p 3000:3000 --name hellok8s -d guangzhengli/hellok8s:v1
Expand Down

0 comments on commit 374008f

Please sign in to comment.