Making Dockerfile for Tomcat

Next, I will write a Dockerfile of Tomcat to build a Docker image, start a Tomcat container based on the image, and finally try to deploy a test project in the middle of the container Idea: Based on centos image, configure a jdk environment and tomcat environment, and configure environment variables 1. Download JDK and tomcat Downlo ...

Posted by ondi on Wed, 20 Oct 2021 23:50:26 -0700

Docker installs Gogs and git services

Technical Party: Su Xuefeng Mirror installation gihub address: https://github.com/gogs/gogs gogs official website: Gogs: A painless self-hosted Git service How to install gogs for gihub official docker: https://github.com/gogs/gogs/tree/master/docker Pull gogs image: #from Docker Hub Extract images from. $ docker pull gogs/gogs # ...

Posted by nickihandy on Wed, 20 Oct 2021 19:26:49 -0700

Docker learning notes - Basics

Docker Docker architecture Conceptual analysis of Docker Run steps of Docker Why is Docker faster than virtual machines docker has fewer abstraction layers than virtual machines docker uses the kernel of the host to avoid booting. Install Docker Installation requirements To install Docker Engine, you need a maintaine ...

Posted by jaslife on Tue, 19 Oct 2021 20:38:45 -0700

Docker deployment process of python

The process of deploying python using Docker: 1. The Docker hub pulls the python image.2. Create a container and add third-party libraries required for the project in the container3. Make the container in step 2 as a mirror4. Use images for intranet environments. 1. Pull the python basic image: xiaoyuanzi@xiaoyuanzi-virtual-machine:~$ do ...

Posted by plastik77 on Mon, 18 Oct 2021 20:04:09 -0700

Docker compose container rapid stand-alone orchestration

catalogue 1, Docker compose overview 2, YAML file format and preparation considerations 3, Common fields for Docker Compose configuration 4, Docker Compose common commands 5, Docker Compose file structure 6, Docker Compose environment installation 7, Use compose orchestration Installing and running nginx containers using compose orche ...

Posted by m0rpheu5 on Mon, 18 Oct 2021 16:12:36 -0700

Demo of setting up and deploying Java Web Application in stand-alone K8s environment

Write in front I see it in the book. Take it out and tidy it up separately. Generally, it is cluster deployment. Sometimes learning K8s is too heavy and I don't know how to start:Here I hope to have a preliminary understanding of K8S through my blog.The content of the blog includes: Setup of stand-alone version in K8s environmentTomcat+my ...

Posted by RobinTibbs on Fri, 15 Oct 2021 20:13:57 -0700

A k8s Cluster -- cross cloud server deployment

Poor students can only afford new preferential servers from cloud manufacturers. If they want to play distributed, they can only build cross cloud clusters. However, it is not a cloud manufacturer that is not under the same vpc network. I hereby record many pits Two servers, one Qingyun 4c8g and one Tencent cloud 2c4g 1. Install Docker sudo ...

Posted by tomcurcuruto on Fri, 15 Oct 2021 19:36:19 -0700

Docker Mirror Creation, Layering of Mirror Structure, Dockerfile Instances

Catalog 1. Docker image creation 1. Create based on existing mirrors 2. Create based on local templates 3. Create based on Dockerfile (1) Federated File System (UnionFS) (2) Mirror loading principle (3) Why is centos in Docker only 200M in size? (4)Dockerfile 2. Layering of Docker mirror structure 1. Common instructions for Dockerfile ...

Posted by nanobots on Wed, 13 Oct 2021 11:32:58 -0700

linux Enterprise Operation and maintenance ---- > k8s deployment

1, Kubernetes (k8s) k8s full name Kubernetes With the rapid development of Docker as an advanced container engine, container technology has been applied in Google For many years, Borg system has run and managed thousands of container applications. The Kubernetes project is derived from Borg, and it can be said to be the essence of Borg's d ...

Posted by thegreatone2176 on Wed, 13 Oct 2021 05:38:34 -0700

Dcoker sets up zookeeper cluster operation

Using Docker to build zookeeper cluster environment Start docker service The above situation indicates that the docker is not started and the docker service needs to be started manually service docker start This error is reported when starting the service [root@localhost ~]# docker start 722cb567ad8b Error response from daemon: d ...

Posted by slindstr on Tue, 12 Oct 2021 12:12:07 -0700