Difference between revisions of "Docker"
Jump to navigation
Jump to search
m (9 revisions imported) |
|||
Line 6: | Line 6: | ||
# [https://vsupalov.com/docker-arg-env-variable-guide/ Docker ARG, ENV and .env - a Complete Guide] | # [https://vsupalov.com/docker-arg-env-variable-guide/ Docker ARG, ENV and .env - a Complete Guide] | ||
# [https://developers.redhat.com/blog/2018/02/22/container-terminology-practical-introduction/ Container Terminology Practical Introduction] | # [https://developers.redhat.com/blog/2018/02/22/container-terminology-practical-introduction/ Container Terminology Practical Introduction] | ||
==Docker Installation Mysteries== | |||
There are two main packages for Docker installation, <code>docker.io</code> and <code>containerd.io</code>. If your network doesn't resolve certain repository site, you might not be able to install the software properly, and you might not be given the signals about why. In my case, I used a [[VPN]] service to pretend my computer is situated in the USA, and some problems are resolved. The particular case in point is here: | |||
<syntaxhighlight lang=BASH> | |||
echo "[TASK 5] Install containerd runtime" | |||
apt update -qq >/dev/null 2>&1 | |||
apt install -qq -y containerd apt-transport-https >/dev/null 2>&1 | |||
mkdir /etc/containerd | |||
containerd config default > /etc/containerd/config.toml | |||
systemctl restart containerd | |||
systemctl enable containerd >/dev/null 2>&1 | |||
</syntaxhighlight> | |||
==More Advance Reading== | ==More Advance Reading== |
Revision as of 07:45, 12 August 2021
Since this project utilizes Docker technologies extensively, it is necessary to provide documentation on Docker.
Before reading books on Docker, one can start reading some of the following articles:
- Six Docker Basics
- Docker ARG, ENV and .env - a Complete Guide
- Container Terminology Practical Introduction
Docker Installation Mysteries
There are two main packages for Docker installation, docker.io
and containerd.io
. If your network doesn't resolve certain repository site, you might not be able to install the software properly, and you might not be given the signals about why. In my case, I used a VPN service to pretend my computer is situated in the USA, and some problems are resolved. The particular case in point is here:
echo "[TASK 5] Install containerd runtime"
apt update -qq >/dev/null 2>&1
apt install -qq -y containerd apt-transport-https >/dev/null 2>&1
mkdir /etc/containerd
containerd config default > /etc/containerd/config.toml
systemctl restart containerd
systemctl enable containerd >/dev/null 2>&1