Skip to content

Commit

Permalink
update: Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
oddfar committed Dec 24, 2023
1 parent 8f72938 commit 70bcb19
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/01.Java/03.java-面向对象/06.面向对象.md
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,7 @@ public class StaticInnerClassTest {

2. 静态内部类能够直接被外部类给实例化,不需要使用外部类对象

```jav
```java
Outer.Inner inner = new Outer.Inner();
```

Expand Down
17 changes: 17 additions & 0 deletions docs/05.工具部署/10.Docker/04.Docker - 安装.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,23 @@ cat /etc/os-release

至此,已经安装完

常用命令:

```sh
# 启动docker
systemctl start docker
# 停止dokcer
systemctl stop docker
# 查看docker状态
systemctl status docker
# 重启docker
systemctl restart docker
# 设置docker 开机自启
systemctl enable docker
# 设置docker 开机不自启
systemctl disable docker
```



- 查看版本
Expand Down
2 changes: 2 additions & 0 deletions docs/05.工具部署/10.Docker/18.Docker - Compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-
sudo curl -L "https://hub.gitmirror.com/https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
```



2、授权

```sh
Expand Down

0 comments on commit 70bcb19

Please sign in to comment.