Tag:docker

  • The most detailed actual combat of docker installation redis in history (including the illustration of each step)

    Time:2022-5-25

    Not only teach you to install, but also teach you to delete. Each line of command is illustrated, which is absolutely understandable. If you are interested in building a redis cluster, you can take a look at this article Docker builds redis cluster cluster environmentHope to help you 1、 Docker searches redis images Command: docker […]

  • How does docker modify the root password of MySQL

    Time:2022-5-23

    Step 1: MySQL container Docker exec – it container ID / bin / Bash Step 2 connect to MySQL mysql -uroot -p After entering the password, log in to the MySQL terminal Step 3: change the password Set password for ‘root’ = password (‘set password ‘); Step 4 restart Restart the MySQL container Docker restart […]

  • Solution of docker logging in without root permission

    Time:2022-5-22

    Permission problems will be reported when using the docker command for the first time Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.37/containers/json?all=1: dial unix /var/run/docker.sock: connect: permission denied resolvent: 1、 Use sudo to obtain root permission; 2、 Add the current user to the docker user group; Sudo […]

  • How docker adds certificates

    Time:2022-5-21

    1. Upgrade processing: sudo apt get update The problems such as lack of package and old version of package can be solved. If not, it is the lack of authentication. You need to generate your own authentication certificate. 2. Generate your own authentication certificate Create a folder first mkdir -p certs Then create the certificate, […]

  • Method and steps of configuration of docker’s pdflatex environment

    Time:2022-5-20

    Technical background Latex is an indispensable tool in document writing, especially in writing articles. It is a text typesetting tool that must be used. However, the deployment of latex environment is not a particularly user-friendly operation, especially on various platforms. It is completely different, and it is often easy to report errors. We can solve […]

  • Detailed explanation of docker’s method of configuring opengauss database

    Time:2022-5-19

    For Windows User Using opengauss in docker Pull opengauss image Enter in the console docker pull enmotech/opengauss:latest Waiting for download Jamming may occur halfway. Can pressCtrl+CThen rerun the instruction to pull the image. Until all are displayedDownload complete If you can’t download it, change the source for dockerOpen the user (or user) folder under drive […]

  • Solve the problem of MAC docker x509 certificate

    Time:2022-5-18

    problem You need to log in to the private image center recently. An error message appears when logging in: Error response from daemon: Get https://***: x509: certificate signed by unknown authority reason The certificate of the private image center is not trusted. You need to add the authentication certificate of the private image center. resolvent […]

  • Solve the problem of docker x509 secure registry

    Time:2022-5-17

    After installing docker, we encountered x509 problem when trying to pull docker from harbor, a private server built by the company. The reason for this problem is that docker will verify the certificate of the website, and the private server does not have the corresponding certificate, so docker refused to visit, but we can also […]

  • Solve the problem of expiration of docker’s TLS (SSL) Certificate

    Time:2022-5-16

    Problem phenomenon: [[email protected] ~]# docker image pull xxx.com.cn/centos7 Using default tag: latest Error response from daemon: Get https://xxx.com.cn/v1/_ping: x509: certificate has expired or is not yet valid Possible cause analysis: Linux uses date to check the current time and compares it with the valid time of the certificate to find out the specific reasons, which […]

  • Solve the problem of error reporting in docker pull image

    Time:2022-5-15

    Description: Install the VM under win10, run docker in the VM, and pull the image using docker pull to report an error I Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) reason: When using the docker pull command to pull the image, if no additional information is added, such […]

  • Solution of ES memory overflow in docker startup

    Time:2022-5-13

    Add JVM. In the config of elasticsearch Options file. Modify the stack size. The default is 2GB. Just start es directly to ensure that the configuration file has been mapped before. -Xms5g -Xmx5g Full JVM The options file is as follows: ## JVM configuration ################################################################ ## IMPORTANT: JVM heap size ################################################################ ## ## You should […]

  • Docker runs the operation of the specified memory

    Time:2022-5-10

    As follows: -m. — memory memory limit. The format is number plus unit. The unit can be B, K, m, G. 4m minimum –Memory swap total limit of memory + swap partition size. The format is the same as above. Must be – m large –Memory reservation soft limit of memory. The format is the […]