Refactor to include and use call out formatting

This commit is contained in:
Chris Chinchilla 2023-04-18 16:25:34 +02:00
parent d2a801c0ab
commit 1ee679125e
6 changed files with 12 additions and 22 deletions

7
_includes/root-errors.md Normal file
View File

@ -0,0 +1,7 @@
> **Tip**
>
> Receiving errors when trying to run without root?
>
> The `docker` user group exists but contains no users, which is why youre required
> to use `sudo` to run Docker commands. Continue to [Linux postinstall](linux-postinstall.md)
> to allow non-privileged users to run Docker commands and for other optional configuration steps.

View File

@ -170,11 +170,7 @@ $ sudo yum-config-manager \
You have now successfully installed and started Docker Engine.
> Receiving errors when trying to run without root?
>
> The `docker` user group exists but contains no users, which is why youre required
> to use `sudo` to run Docker commands. Continue to [Linux postinstall](linux-postinstall.md)
> to allow non-privileged users to run Docker commands and for other optional configuration steps.
{% include root-errors.md %}
#### Upgrade Docker Engine

View File

@ -186,11 +186,7 @@ Raspbian.
You have now successfully installed and started Docker Engine.
> Receiving errors when trying to run without root?
>
> The `docker` user group exists but contains no users, which is why you're required
> to use `sudo` to run Docker commands. Continue to [Linux post-install](linux-postinstall.md)
> to allow non-privileged users to run Docker commands and for other optional configuration steps.
{% include root-errors.md %}
#### Upgrade Docker Engine

View File

@ -193,10 +193,7 @@ a new file each time you want to upgrade Docker Engine.
This installs and runs Docker Engine.
> Receiving errors when trying to run without root?
>
> Continue to [Linux post-install](linux-postinstall.md) to allow non-privileged users to run Docker commands
> and for other optional configuration steps.
{% include root-errors.md %}
#### Upgrade Docker Engine

View File

@ -157,10 +157,7 @@ $ sudo yum-config-manager \
This installs and runs Docker Engine.
> Receiving errors when trying to run without root?
>
> Continue to [Linux post-install](linux-postinstall.md) to allow non-privileged users to run Docker commands
> and for other optional configuration steps.
{% include root-errors.md %}
#### Upgrade Docker Engine

View File

@ -175,10 +175,7 @@ $ sudo zypper addrepo {{ download-url-base }}/docker-ce.repo
This installs and runs Docker Engine.
> Receiving errors when trying to run without root?
>
> Continue to [Linux post-install](linux-postinstall.md) to allow non-privileged users to run Docker commands
> and for other optional configuration steps.
{% include root-errors.md %}
#### Upgrade Docker Engine