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
Vue2.0+jsonserver+axios Simulate local request interface data Enterprises face SEM Bidding and SEO How to choose ? Or both ? Did you complain today ? Notes on core principles of reverse engineering ( One )——Hello World-1 Some views of a student on Hongmeng system Java Summary of basic learning (162)—— How to ensure thread safety ? Using function to realize the exchange of two numbers (C language )SK Hynix World Premiere DDR5 Memory : The frequency goes up 5600MHz, Capacity up to 256GBdjango Do not close CSRF middleware , Custom through CSRF Tested post request Zhejiang University data structure midterm examination questions