Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
e19aa2f6
Commit
e19aa2f6
authored
Feb 15, 2019
by
macro
Browse files
Update docker.md
parent
21913e8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
document/reference/docker.md
View file @
e19aa2f6
...
...
@@ -36,6 +36,11 @@ docker logs $ContainerIdName(或者$ContainerId)
docker inspect --format '{{ .NetworkSettings.IPAddress }}' $ContainerId
### 同步宿主机时间到容器
docker cp /etc/localtime $ContainerName:/etc/
### 在宿主机查看docker使用cpu、内存、网络、io情况
-
查看指定容器情况:docker stats $ContainerName
-
查看所有容器情况:docker stats -a
### 进入docker内部的bash
docker exec -it $ContainerName /bin/bash
## Docker Registry
### Docker Registry 2.0搭建
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment