Docker installation tomcat dubbo-admin instance skills

Docker installation tomcat dubbo-admin instance skills

1. Download the tomcat image

docker pull tomcat:8.5.29

2. Verify the image

docker images

3. Install tomcat

The default tomcat port is mapped to the http port 8080, and the corresponding files are mounted to the host machine.

docker run --name dubbo-admin -p 18080:8080 -v /root/dubbo-admin/tomcat-users.xml:/usr/local/tomcat/conf/tomcat-users.xml -v /root/dubbo-admin/log:/usr/local/tomcat/logs tomcat:8.5.29

4. Verify tomcat

Visit: http://ip:external interface 18080

http://192.168.5.180:18080

The above are all the relevant knowledge points introduced this time. Thank you for your learning and support for 123WORDPRESS.COM.

You may also be interested in:
  • Docker learning method to build JAVA Tomcat operating environment based on Dockerfile
  • Detailed explanation of building a Mysql container + Tomcat container connection environment through Docker
  • Docker-How to use dockerfile to build tomcat service
  • Solution to 404 Problem of Tomcat Installation in Docker

<<:  How to use DQL commands to query data in MySQL

>>:  jQuery implements the function of disabling the control button of sending verification code

Recommend

How to solve the synchronization delay caused by MySQL DDL

Table of contents Preface Solution Tool Introduct...

Designing the experience: What’s on the button

<br />Recently, UCDChina wrote a series of a...

Sample code for using CSS to write a textured gradient background image

The page length in the project is about 2000px or...

Example analysis of mysql variable usage [system variables, user variables]

This article uses examples to illustrate the usag...

A small collection of html Meta tags

<Head>……</head> indicates the file he...

MySQL's method of dealing with duplicate data (preventing and deleting)

Some MySQL tables may contain duplicate records. ...

How to use Typescript to encapsulate local storage

Table of contents Preface Local storage usage sce...

Learn more about MySQL indexes

1. Indexing principle Indexes are used to quickly...

Tutorial on installing and configuring remote login to MySQL under Ubuntu

This article shares the MySQL installation and co...

Detailed tutorial on using Docker to build Gitlab based on CentOS8 system

Table of contents 1. Install Docker 2. Install Gi...

Share 20 JavaScript one-line codes

Table of contents 1. Get the value of browser coo...

8 commands to effectively manage processes in Linux

Preface The role of process management: Determine...