Better sh hl
This commit is contained in:
@ -22,7 +22,7 @@ Docker, to install deployable services in seconds and manage them with just a fe
|
||||
---
|
||||
Add the Docker repositories and GPG key:
|
||||
|
||||
```shell
|
||||
```sh
|
||||
# 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:
|
||||
|
||||
```shell
|
||||
```sh
|
||||
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
```
|
||||
|
||||
@ -49,7 +49,7 @@ That's it!
|
||||
:::list{type="info"}
|
||||
- From here on, we assume the stacks are installed in the `/docker` folder, created using the command:
|
||||
:::
|
||||
```shell
|
||||
```sh
|
||||
sudo mkdir /docker
|
||||
::
|
||||
|
||||
@ -63,7 +63,7 @@ That's it!
|
||||
|
||||
File structure we will create:
|
||||
|
||||
```console
|
||||
```sh
|
||||
root
|
||||
└── docker
|
||||
└── dockge
|
||||
@ -72,14 +72,14 @@ root
|
||||
|
||||
Create the stack folder:
|
||||
|
||||
```shell
|
||||
```sh
|
||||
cd /docker
|
||||
sudo mkdir dockge
|
||||
```
|
||||
|
||||
Then create the `compose.yml` file in this folder using `vim`:
|
||||
|
||||
```shell
|
||||
```sh
|
||||
cd /docker/dockge
|
||||
sudo vi compose.yml
|
||||
```
|
||||
@ -107,7 +107,7 @@ Press `Esc` and type `:x` to save and exit.
|
||||
|
||||
To launch the container:
|
||||
|
||||
```shell
|
||||
```sh
|
||||
cd /docker/dockge
|
||||
sudo docker compose up -d
|
||||
```
|
||||
|
Reference in New Issue
Block a user