Docker II: Basic Concepts

Image As we all know, the operating system is divided into kernel and userspace. For Linux, after the kernel starts, it mounts a root filesystem to provide userspace support. A Docker image is the equivalent of a root filesystem. For example, the official ubuntu:18.04 image contains a complete root filesystem Read more…

Install Docker Engine on Ubuntu and Set Up Auto Startup on Boot

Official Doc: https://docs.docker.com/engine/install/ubuntu/ Run the following command to uninstall all conflicting packages: for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done Set up Docker’s apt repository. # Add Docker's official GPG key: sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m Read more…