mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-11 04:14:38 +00:00
Fix grammar
This commit is contained in:
@@ -199,6 +199,7 @@ $ docker logs -t myapp
|
||||
```bash
|
||||
$ docker ps -a --filter "name=mycontainer"
|
||||
# 查看 STATUS 列,如 "Exited (1)" 表示异常退出
|
||||
|
||||
```
|
||||
|
||||
2. **查看容器日志**:
|
||||
@@ -210,6 +211,7 @@ $ docker logs -t myapp
|
||||
```bash
|
||||
$ docker run -it myimage:latest /bin/sh
|
||||
# 进入容器手动执行命令,查找问题
|
||||
|
||||
```
|
||||
|
||||
#### Q: 容器在后台运行但无法访问服务
|
||||
|
||||
@@ -12,6 +12,3 @@
|
||||
* [进入容器](5.4_attach_exec.md)
|
||||
* [导出和导入容器](5.5_import_export.md)
|
||||
* [删除容器](5.6_rm.md)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user