mirror of
https://github.com/Dichgrem/Blog.git
synced 2025-02-22 13:38:37 -05:00
update
This commit is contained in:
parent
3da3b4d24b
commit
516e60788f
@ -365,6 +365,34 @@ sudo rm -rf /var/lib/containerd
|
||||
|
||||
就是这样! Docker 已成功删除。
|
||||
|
||||
|
||||
## 在Arch Linux上安装Docker
|
||||
```
|
||||
sudo pacman -S docker
|
||||
```
|
||||
|
||||
安装完成后,需要启动Docker服务,并设置为开机自启:
|
||||
```
|
||||
sudo systemctl start docker
|
||||
sudo systemctl enable docker
|
||||
```
|
||||
|
||||
|
||||
运行以下命令来验证Docker是否正常工作:
|
||||
```
|
||||
sudo docker run hello-world
|
||||
```
|
||||
默认情况下,只有root用户才能运行Docker命令。为了避免每次运行Docker命令时都需要使用sudo,可以将当前用户添加到docker组:
|
||||
```
|
||||
sudo usermod -aG docker $USER
|
||||
```
|
||||
之后,需要注销并重新登录,或者重启系统以使更改生效。
|
||||
|
||||
安装Docker Compose:
|
||||
```
|
||||
sudo pacman -S docker-compose
|
||||
```
|
||||
|
||||
## 1panel
|
||||
|
||||
执行如下命令一键安装 1Panel:
|
||||
|
@ -340,6 +340,23 @@
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo rm -rf /var/lib/containerd
|
||||
</span></code></pre>
|
||||
<p>就是这样! Docker 已成功删除。</p>
|
||||
<h2 id="zai-arch-linuxshang-an-zhuang-docker">在Arch Linux上安装Docker</h2>
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo pacman -S docker
|
||||
</span></code></pre>
|
||||
<p>安装完成后,需要启动Docker服务,并设置为开机自启:</p>
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo systemctl start docker
|
||||
</span><span>sudo systemctl enable docker
|
||||
</span></code></pre>
|
||||
<p>运行以下命令来验证Docker是否正常工作:</p>
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo docker run hello-world
|
||||
</span></code></pre>
|
||||
<p>默认情况下,只有root用户才能运行Docker命令。为了避免每次运行Docker命令时都需要使用sudo,可以将当前用户添加到docker组:</p>
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo usermod -aG docker $USER
|
||||
</span></code></pre>
|
||||
<p>之后,需要注销并重新登录,或者重启系统以使更改生效。</p>
|
||||
<p>安装Docker Compose:</p>
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo pacman -S docker-compose
|
||||
</span></code></pre>
|
||||
<h2 id="1panel">1panel</h2>
|
||||
<p>执行如下命令一键安装 1Panel:</p>
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh
|
||||
|
Binary file not shown.
BIN
public/pagefind/fragment/en_f128bfe.pf_fragment
Normal file
BIN
public/pagefind/fragment/en_f128bfe.pf_fragment
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_15068d1.pf_index
Normal file
BIN
public/pagefind/index/en_15068d1.pf_index
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_460aece.pf_index
Normal file
BIN
public/pagefind/index/en_460aece.pf_index
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_b54c4b6.pf_index
Normal file
BIN
public/pagefind/index/en_b54c4b6.pf_index
Normal file
Binary file not shown.
BIN
public/pagefind/index/en_cb5f53c.pf_index
Normal file
BIN
public/pagefind/index/en_cb5f53c.pf_index
Normal file
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
{"version":"1.3.0","languages":{"en":{"hash":"en_9d6333a79d","wasm":"en","page_count":101}}}
|
||||
{"version":"1.3.0","languages":{"en":{"hash":"en_bafc3ad51c","wasm":"en","page_count":101}}}
|
Binary file not shown.
BIN
public/pagefind/pagefind.en_bafc3ad51c.pf_meta
Normal file
BIN
public/pagefind/pagefind.en_bafc3ad51c.pf_meta
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user