Introduction to Docker general installation

To install tomcat: Find the tomcat image on the docker hub: docker search tomcat Pull tomcat image from docker hub to local: docker pull tomcat Check whether the tomcat images are pulled Create container instances using tomcat images (also known as running images): docker run -it -p 8080:8080 tomcat solve: The port may not be mapped or t ...

Posted by Dominator69 on Sat, 26 Mar 2022 13:52:44 +0300

Production of Docker image (including MySQL, tomcat, nginx, apache, ssh, systemctl image, detailed picture and text explanation!)

Making Docker image 1, About docker image 1. What is a docker image ● standard format of application release ● support the operation of a Docker container Docker image is a read-only docker container template, which contains the file system structure and contents required to start a docker container. Therefore, it is the basis for starti ...

Posted by lovesmith on Sat, 26 Mar 2022 10:57:42 +0300

Advanced optimization of Docker container

1. Shrink mirror Greatly reduce network I/O for downloading or uploading On the basis of ensuring the stable operation of the image environment, effectively reduce the size of the image. When the image is enough, it is of great significance (production environment). You can reduce the mirrored objects. Code written in compiled code (C, JAVA, G ...

Posted by omarh2005 on Sat, 26 Mar 2022 10:34:53 +0300