• The tutorial of installing docker on CentOS system


    Docker is an open source tool that makes it easy to create and manage Linux containers. Containers are like lightweight virtual machines that can be started or stopped in milliseconds. Docker helps system administrators and programmers develop applications in containers, and can be extended to thousands of nodes. The main difference between container and VM […]

  • Methods and steps of deploying LNMP & phpMyAdmin with docker


    Environmental preparation: LNMP is deployed on one host based on multiple containersNginx service: service: service: To solve the problem of container fixed IP address: Note: when the container is stopped or deleted, and the same container is run again, its IP address is no longer the original address, so we need to […]

  • Installation of docker in Linux


    1. Installation environment Docker supports the following CentOS versions CentOS 6.5 (64 bit) or higher Docker requires that the kernel version of CentOS system is higher than 3.10. Check the prerequisites on this page to verify whether your CentOS version supports docker [[email protected] ~]# uname -r 3.10.0-957.21.3.el7.x86_64 3. Install docker with Yum:  yum -y install […]

  • Using shell script to start and stop docker service in batch


    Recently, in daily tests, it is often necessary to start or stop docker manually, so it is decided to write a shell script instead of manual operation. In addition, the script can also be called remotely through Python script. The details are as follows: At present, the script writes container ID in the script. Of […]

  • Methods and steps of configuring spring environment with docker composition


    Recently, we need to package the project for members to test, but the package will affect the development, so we plan to use itdockerSimulate the production environment to run the packaged project, so that it can be developed and tested for members. Because the original project is too large, I plan to test the water […]

  • An example of the method of docker + keepalived + nginx to realize master-slave hot standby


    preface In order to solve the single point of failure, we need to configure the master-slave hot standby scheme. The number of servers is limited, so we use docker to simulate the installation configuration. Docker is installed by default in this configuration. Configuration environment: centos7 64 bit Docker version: docker version 17.12.1-ce, build 7390fc6 1. […]

  • The tutorial of installing docker under Windows


    Since my local version of MySQL is relatively low, I recently wanted to upgrade my version of MySQL. In view of the popularity of docker container, I wanted to install a docker environment locally, download the latest version of MySQL image, and complete the installation of mysql8.0. The computer is windows 10. First, enable hyper-v […]

  • asp.net The whole process of deploying core application docke to centos7


    preface preparation in advance Win10 (do not install Hyper-V) VMware-Workstation-Pro/15.0 Xshell6 (not required) VS2019 Please install the above environment by yourself. It is the default installation. If you don’t know, you can use Baidu Install centos7 on VM First, download the image of centos7 Image address selection Netease image download fast http://mirrors.163.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-2003.iso Mirroring Configuration 1. […]

  • The process of deploying and running countly server with docker in win10


    Recently just contact and familiar withcountlyThis article mainly records the whole process of using docker container to install and deploy countly server in Windows 10. It can also be regarded as some simple summary and thinking of myself docker Docker is an open source application container engine. Containers use sandbox mechanism completely, and there is […]

  • Implementation of heartbeat monitoring function for docker container by golang


    The Go program that I wrote was originally compiled into binary and then thrown on the line. But with the heart of a docker, I finally put it into the docker container to run, which is OK. The smallest container is 64M, which is convenient for unified management. But after all, it is a service […]

  • Installation and use of docker compose


    Docker compose is a docker tool used to define and run complex applications. Using docker compose no longer requires shell scripts to start containers. (via docker- compose.yml Configuration) Installation of docker compose GitHub source sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose #Add executable permissions to docker compose sudo chmod +x /usr/local/bin/docker-compose Daocloud source curl […]

  • Running Hadoop in docker and image making method


    Repeat the wheel, here we use repackaging to generate a Hadoop image based on docker; Hadoop cluster depends on the following software: JDK, SSH, etc., so as long as these two items are also related to Hadoop, they can be packaged into the image; Configuration file preparation 1. Hadoop related configuration file: Core- site.xml 、hdfs- […]