First, open it docker Configuration file for
vim /usr/lib/systemd/system/docker.service
2 stay ExecStart The port of the link is appended after
-H tcp:// -H unix://var/run/docker.sock
Save configuration

3 restart docker
systemctl daemon-reload systemctl restart docker
Here's right idea To download a plugin from
Download it and restart it idea

Configuration link docker
open settings find docker

to configure docker
tcp://Linux Or alicloud ip:2375

establish docker File for
stay src/main Create in directory docker catalog , Then create it in this directory Dockerfile file
FROM openjdk:8-jdk-alpine ADD *.jar app.jar ENTRYPOINT

establish docker image


to configure

Mapping ports

Change the configuration file my mysql Also in docker upper

Configure it and start packing the project

Package it and put it in the created one docker In the catalogue

Click Run

Take a look after running docker image
docker images

See if the container is started

It's working

ip+ Configure the port to access it
That's all we need to do You can access it normally

©2020 ioDraw All rights reserved
JavaScript study ( Scope )R Language group summation , Group average , Group count antd table sort 2021 Front end high frequency interview questions ( You have to watch it !!!)Android end Firefox Testing credit card and address auto fill function Sql What is the order of execution of ?vue+element-ui Realize the input limit of price 2021 Front end interview questions and written questions ——Vuejavascript Adding and deleting form information FastAPI to write get,post Interface , adopt json Interface for parameter transfer