1, Installation
Environment: Centos7
1. Uninstall old version
The older version of docker is called docker or docker engine. If you have installed these programs, uninstall them and their related dependencies.
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
...
Posted by Kelset on Mon, 02 May 2022 04:30:41 +0300
Abstract: cloud is composed of many small water droplets. Imagine each computer as a small water droplet and combine to form a cloud. Generally, water droplets appear first, and then the platform for managing water droplets appears (such as OpenStack and Kubernetes).
1, Cloud computing – independent universe
1. Cloud is composed of ...
Dokcer Compose
This note is only used to record the process of learning the advanced video of crazy God docker
Install Compose
Docker Compose is another official open source project of docker, not the content of docker, so it needs to be installed separately
# download
curl -L https://get.daocloud.io/docker/compose/releases/download/1. ...
Posted by mrbippy on Thu, 28 Apr 2022 23:25:11 +0300
Learning docker makes it easier to solve environmental problems during deployment. Compared with those who have learned docker, docker can basically start nginx, but it will be a little troublesome to modify the configuration file or deploy dist front-end project. If you directly enter the container, you will find that the environment in the co ...
Posted by anish on Thu, 28 Apr 2022 12:36:53 +0300
Environmental Science:
Host: winows 10 home edition
Virtual machine management software: Hyper-V
Virtual machine system: Ubuntu 20.10
Docker version: Docker CE 20.10.2
Core version: 5.0
This article does not talk about the basic knowledge of docker, but about virtual machine configuration and network sharing here
1, Configure Ubuntu fixed netw ...
Posted by echoninja on Thu, 28 Apr 2022 05:10:17 +0300
Part I Linux Installation nginx
Docker installs and configures nignx mount files
premise
Docker is downloaded, and docker is running
systemctl status docker view the status of docker
Start the following operations
1. Search nginx # docker search nginx
2. Download nginx image: docker pull nginx
Docker pull nginx name
For e ...
Posted by cofey12681 on Thu, 28 Apr 2022 03:09:25 +0300
4, docker advanced knowledge
4.1 running a web application
The container we ran earlier is of no particular use.
Next, let's try to build a web application using docker. We will run a Python Flask application in the docker container to run a web application.
[root@localhost ~]# docker pull training/webapp # Load image
[root@localhost ~]# d ...
Posted by oscardog on Wed, 27 Apr 2022 23:26:20 +0300
contentDocker Data Volumebind mountvolumecreate volumeCreate a data container (a non-running container)Copy container volume (shared container storage)tmpfs
Docker Data Volume
Docker images are superimposed by multiple read-only layers. When starting a container, Docker will load the read-only image layer and add a read-write layer on top of ...
Posted by pvtpyro on Wed, 27 Apr 2022 14:09:46 +0300
I What is automated container deployment
in short, we just need to click (or trigger through gitlab hook), and the code will automatically complete construction - > image generation - > container deployment. Compared with traditional deployment, it can save many steps, especially suitable for agile development projects with ...
Posted by Natty_Dreadlock on Wed, 27 Apr 2022 07:51:45 +0300
summary
In the last article Operation of Docker learning note container (1) In, we learned some container related operation commands. In this article, we continue to learn more operation commands, including export, import, inspect, top, cp, diff, port, update and so on.
Import and export containers
Export container
In the previous article, ...
Posted by celestineweb on Tue, 26 Apr 2022 15:45:14 +0300