Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3675235

Browse files
committed
feat: add Docker
1 parentdd1c384 commit3675235

File tree

5 files changed

+98
-1
lines changed

5 files changed

+98
-1
lines changed

‎content/docs/(scrapers)/zilean.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { File } from "fumadocs-ui/components/files";
1010
<img
1111
alt="Rclone"
1212
src="https://avatars.githubusercontent.com/u/156901906?v=4"
13+
style={{borderRadius:'10px'}}
1314
></img>
1415
</a>
1516
</div>

‎content/docs/(tools)/docker.mdx

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
title:Docker
3+
description:Docker is a platform for developing, shipping, and running applications in containers.
4+
---
5+
6+
import {File,Folder,Files }from"fumadocs-ui/components/files";
7+
8+
<divalign="center">
9+
<ahref="https://github.com/docker">
10+
<img
11+
alt="Zurg"
12+
src="/img/docker/docker.png"
13+
style={{ borderRadius:"10px" }}
14+
></img>
15+
</a>
16+
</div>
17+
18+
##Overview
19+
20+
Docker is a platform for developing, shipping, and running applications in containers. It allows you to separate you to separate applications from your machine and run them in a container. This is useful for many reasons, such as portability,
21+
isolation, and resource management. Docker is a very powerful tool and is used in many different applications.
22+
23+
##Prerequisites
24+
25+
##Installation
26+
27+
There are many different ways to install Docker, depending on your operating system. The official Docker documentation has a great guide on how to install Docker on your system. You can find the installation guide[here](https://docs.docker.com/engine/).
28+
29+
What do we recommend? We recommend you to install Docker Engine instead of Docker Desktop (even for WSL2 to prevent any issues).
30+
31+
<Callouttype="info">
32+
We will be assuming Linux (Ubuntu) for the rest of the guide. Guide for
33+
other OSes is not much different.
34+
</Callout>
35+
36+
###Linux (Ubuntu)
37+
38+
<Callouttype="info">
39+
The following commands are for Ubuntu. For other distributions, please refer
40+
to the official documentation.
41+
</Callout>
42+
43+
Official[Docker Installation Guide](https://docs.docker.com/engine/install/ubuntu/) will be followed. It is recommended to follow the official guide for the most up-to-date instructions.
44+
45+
<Callouttype="warn">
46+
Make sure to follow this[post installation
47+
step](https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user)
48+
to manage Docker as a non-root user if following the official guide.
49+
</Callout>
50+
51+
```bash title="Remove old versions"
52+
forpkgin docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc;do sudo apt-get remove$pkg;done
53+
```
54+
55+
```bash title="Setup Docker's apt repository"
56+
# Add Docker's official GPG key:
57+
sudo apt-get update
58+
sudo apt-get install ca-certificates curl
59+
sudo install -m 0755 -d /etc/apt/keyrings
60+
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
61+
sudo chmod a+r /etc/apt/keyrings/docker.asc
62+
63+
# Add the repository to Apt sources:
64+
echo \
65+
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu\
66+
$(. /etc/os-release&&echo"$VERSION_CODENAME") stable"| \
67+
sudo tee /etc/apt/sources.list.d/docker.list> /dev/null
68+
sudo apt-get update
69+
```
70+
71+
<Callouttype="info">
72+
If you use an Ubuntu derivative distro, such as Linux Mint, you may need to
73+
use`UBUNTU_CODENAME` instead of`VERSION_CODENAME`.
74+
</Callout>
75+
76+
```bash title="Install Docker Engine"
77+
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
78+
```
79+
80+
```bash title="Post-installation steps for Linux"
81+
sudo groupadd docker
82+
sudo usermod -aG docker$USER
83+
```
84+
85+
Log out and log back in so that your group membership is re-evaluated.
86+
87+
```bash title="Verify installation"
88+
docker --version
89+
docker run hello-world
90+
```

‎content/docs/(tools)/rclone.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ import { File, Folder, Files } from "fumadocs-ui/components/files";
77

88
<divalign="center">
99
<ahref="https://rclone.org/">
10-
<imgalt="Rclone"src="/img/rclone/rclone.png"></img>
10+
<img
11+
alt="Rclone"
12+
src="/img/rclone/rclone.png"
13+
style={{ borderRadius:"10px" }}
14+
></img>
1115
</a>
1216
</div>
1317

@@ -309,6 +313,7 @@ file in the same directory as `docker-compose.yml`.
309313
then using the same config in the docker container. This way we don't have to setup the config ourselves in the container.
310314

311315
tldr; copying that specific remote from `~/.config/rclone/rclone.conf` to the `rclone.conf` file in the same directory as `docker-compose.yml`.
316+
312317
</Callout>
313318

314319
Another way is to see the rclone documentation for the remote you want to setup. They have examples for most of the remotes.

‎content/docs/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"---Tools---",
88
"(tools)/rclone",
99
"(tools)/zurg",
10+
"(tools)/docker",
1011
"---Apps---",
1112
"(apps)/riven",
1213
"(apps)/comet",

‎public/img/docker/docker.png

2.11 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp