Label terminal commands and directory trees in code blocks

This commit is contained in:
Djeex
2026-08-31 19:57:52 +02:00
parent 61f4b0447b
commit baf3590186
53 changed files with 214 additions and 206 deletions
+7 -7
View File
@@ -22,7 +22,7 @@ Docker, to install deployable services in seconds and manage them with just a fe
## Install Docker
Add the Docker repositories and GPG key:
```sh
```bash [Terminal]
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
@@ -37,7 +37,7 @@ sudo apt-get update
Install the packages:
```sh
```bash [Terminal]
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
```
@@ -48,7 +48,7 @@ That's it!
::note
From here on, we assume the stacks are installed in the `/docker` folder, created using the command:
```sh
```bash [Terminal]
sudo mkdir /docker
```
::
@@ -62,7 +62,7 @@ From here on, we assume the stacks are installed in the `/docker` folder, create
File structure we will create:
```sh
```text [Directory tree]
root
└── docker
└── dockge
@@ -71,14 +71,14 @@ root
Create the stack folder:
```sh
```bash [Terminal]
cd /docker
sudo mkdir dockge
```
Then create the `compose.yml` file in this folder using `nano`:
```sh
```bash [Terminal]
cd /docker/dockge
sudo nano compose.yml
```
@@ -109,7 +109,7 @@ Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ct
To launch the container:
```sh
```bash [Terminal]
cd /docker/dockge
sudo docker compose up -d
```