Docker III: Image – Basic Usage

Fetch Mirrors The command to fetch an image from the Docker image repository is docker pull. the command format is: $ docker pull [options] [Docker Registry address[:port number]/] repository name[:label] The specific options can be seen with the docker pull –help command, here we talk about the format of the Read more

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