部署时需要注!意!:

打开防火墙对应的应用端口!!用于外部访问!!内部互访问则不需要。

和对应数据库,缓存,消息中间件服务等的端口(当然这些服务必须先开启,它们也可使用docker部署开启) ,用于容器服务的访问!!

另:容器暴露(Dockefile里面的EXPOSE)什么端口,和启动容器时映射(docker run中的-p端口映射)什么端口,与容器里的应用实际运行什么端口本质上没关系,暴露和映射,只是容器对外部访问的权限设置,容器内应用在什么端口启动,取决于应用程序怎么写的。但一般应用在什么端口启动,就应该暴露容器的什么端口,映射什么端口到外部网络!!

Ubuntu安装curl依赖不匹配问题:

https://blog.csdn.net/qq_41694204/article/details/80833756

更换Docker的镜像源:

https://blog.csdn.net/yhjay88/article/details/73790487?utm_source=itdadao&utm_medium=referral

安装docker

https://blog.csdn.net/xiaochendefendoushi/article/details/80979905

http://blog.51cto.com/ityouknow/2083688

docker基于Centos镜像部署服务:

https://www.cnblogs.com/zengkefu/p/5667046.html

基于Dockerfile和Ubuntu镜像部署服务:

https://blog.csdn.net/zhaokx3/article/details/72757527

docker基于Dockerfile和Tomcat镜像部署HTTPS服务:

https://blog.csdn.net/wfs1994/article/details/80600058

基于docker容器的LNMP部署参考:

http://blog.51cto.com/13858192/2172733

实际操作:

安装curl:

baigang@baigang-virtual-machine:~$ sudo curl -sSL https://get.daocloud.io/docker | sh
[sudo] password for baigang:
sudo: curl: command not found
baigang@baigang-virtual-machine:~$ sudo apt-get install curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 curl : Depends: libcurl3 (= 7.35.0-1ubuntu2.19) but 7.47.0-1ubuntu2.8 is to be installed
E: Unable to correct problems, you have held broken packages.

baigang@baigang-virtual-machine:~$ sudo apt-get build-dep curl
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 builddeps:curl : Depends: libgcrypt11-dev but it is not going to be installed
                  Depends: libgnutls-dev but it is not going to be installed
                  Depends: libidn11-dev but it is not going to be installed
                  Depends: libkrb5-dev but it is not going to be installed
                  Depends: libldap2-dev but it is not going to be installed
                  Depends: libnss3-dev but it is not going to be installed
                  Depends: librtmp-dev but it is not going to be installed
                  Depends: libssl-dev but it is not going to be installed
                  Depends: openssh-server
                  Depends: zlib1g-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

baigang@baigang-virtual-machine:~$ sudo apt-get -f -y install  curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 curl : Depends: libcurl3 (= 7.35.0-1ubuntu2.19) but 7.47.0-1ubuntu2.8 is to be installed
E: Unable to correct problems, you have held broken packages.

baigang@baigang-virtual-machine:~$ sudo apt-get install libcurl3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libcurl3 is already the newest version (7.47.0-1ubuntu2.8).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.

baigang@baigang-virtual-machine:~$ sudo apt-get update
Ign:1 http://mirrors.163.com/ubuntu trusty InRelease
Hit:2 http://mirrors.163.com/ubuntu trusty-security InRelease
Hit:3 http://mirrors.163.com/ubuntu trusty-updates InRelease
Hit:4 http://mirrors.163.com/ubuntu trusty-proposed InRelease
Hit:5 http://mirrors.163.com/ubuntu trusty-backports InRelease
Hit:6 http://mirrors.163.com/ubuntu trusty Release
Ign:8 http://mirrors.aliyun.com/ubuntu trusty InRelease         
Hit:9 http://mirrors.aliyun.com/ubuntu trusty-security InRelease
Hit:10 http://mirrors.aliyun.com/ubuntu trusty-updates InRelease
Hit:11 http://mirrors.aliyun.com/ubuntu trusty-proposed InRelease
Hit:12 http://mirrors.aliyun.com/ubuntu trusty-backports InRelease
Hit:13 http://mirrors.aliyun.com/ubuntu trusty Release
Reading package lists... Done

baigang@baigang-virtual-machine:~$ sudo apt-get install libcurl3=7.35.0-1ubuntu2.19
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libgcrypt11 libgnutls26 librtmp0
Suggested packages:
  rng-tools gnutls-bin
The following NEW packages will be installed:
  libgcrypt11 libgnutls26 librtmp0
The following packages will be DOWNGRADED:
  libcurl3
0 upgraded, 3 newly installed, 1 downgraded, 0 to remove and 12 not upgraded.
Need to get 857 kB of archives.
After this operation, 1,846 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.aliyun.com/ubuntu trusty-security/main amd64 libgcrypt11 amd64 1.5.3-2ubuntu4.6 [238 kB]
Get:2 http://mirrors.aliyun.com/ubuntu trusty-security/main amd64 libgnutls26 amd64 2.12.23-12ubuntu2.8 [395 kB]
Get:3 http://mirrors.aliyun.com/ubuntu trusty-security/main amd64 librtmp0 amd64 2.4+20121230.gitdf6c518-1ubuntu0.1 [50.4 kB]
Get:4 http://mirrors.aliyun.com/ubuntu trusty-security/main amd64 libcurl3 amd64 7.35.0-1ubuntu2.19 [173 kB]
Fetched 857 kB in 0s (1,123 kB/s)
Selecting previously unselected package libgcrypt11:amd64.
(Reading database ... 179765 files and directories currently installed.)
Preparing to unpack .../libgcrypt11_1.5.3-2ubuntu4.6_amd64.deb ...
Unpacking libgcrypt11:amd64 (1.5.3-2ubuntu4.6) ...
Selecting previously unselected package libgnutls26:amd64.
Preparing to unpack .../libgnutls26_2.12.23-12ubuntu2.8_amd64.deb ...
Unpacking libgnutls26:amd64 (2.12.23-12ubuntu2.8) ...
Selecting previously unselected package librtmp0:amd64.
Preparing to unpack .../librtmp0_2.4+20121230.gitdf6c518-1ubuntu0.1_amd64.deb ...
Unpacking librtmp0:amd64 (2.4+20121230.gitdf6c518-1ubuntu0.1) ...
dpkg: warning: downgrading libcurl3:amd64 from 7.47.0-1ubuntu2.8 to 7.35.0-1ubuntu2.19
Preparing to unpack .../libcurl3_7.35.0-1ubuntu2.19_amd64.deb ...
Unpacking libcurl3:amd64 (7.35.0-1ubuntu2.19) over (7.47.0-1ubuntu2.8) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Setting up libgcrypt11:amd64 (1.5.3-2ubuntu4.6) ...
Setting up libgnutls26:amd64 (2.12.23-12ubuntu2.8) ...
Setting up librtmp0:amd64 (2.4+20121230.gitdf6c518-1ubuntu0.1) ...
Setting up libcurl3:amd64 (7.35.0-1ubuntu2.19) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
baigang@baigang-virtual-machine:~$ sudo apt install curlReading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  curl
0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
Need to get 123 kB of archives.
After this operation, 316 kB of additional disk space will be used.
Get:1 http://mirrors.aliyun.com/ubuntu trusty-security/main amd64 curl amd64 7.35.0-1ubuntu2.19 [123 kB]
Fetched 123 kB in 0s (715 kB/s)
Selecting previously unselected package curl.
(Reading database ... 179791 files and directories currently installed.)
Preparing to unpack .../curl_7.35.0-1ubuntu2.19_amd64.deb ...
Unpacking curl (7.35.0-1ubuntu2.19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up curl (7.35.0-1ubuntu2.19) ...

安装Docker:

baigang@baigang-virtual-machine:~$ sudo curl -sSL https://get.daocloud.io/docker | sh
# Executing docker install script, commit: 46dc063
+ sudo -E sh -c apt-get update -qq >/dev/null
+ sudo -E sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sudo -E sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
+ sudo -E sh -c echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial edge" > /etc/apt/sources.list.d/docker.list
+ [ ubuntu = debian ]
+ sudo -E sh -c apt-get update -qq >/dev/null
+ sudo -E sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null

+ sudo -E sh -c docker version

Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:48:57 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:16:44 2018
  OS/Arch:          linux/amd64
  Experimental:     false
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:

sudo usermod -aG docker baigang

Remember that you will have to log out and back in for this to take effect!

WARNING: Adding a user to the "docker" group will grant the ability to run
         containers which can be used to obtain root privileges on the
         docker host.
         Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
         for more information.

baigang@baigang-virtual-machine:~$ sudo usermod -aG docker baigang
baigang@baigang-virtual-machine:~$ sudo service docker restart
baigang@baigang-virtual-machine:~$ newgrp - docker
baigang@baigang-virtual-machine:~$ docker version
Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:48:57 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:16:44 2018
  OS/Arch:          linux/amd64
  Experimental:     false

baigang@baigang-virtual-machine:~$ which docker
/usr/bin/docker

baigang@baigang-virtual-machine:~$ docker search ubuntu
Error response from daemon: Get https://index.docker.io/v1/search?q=ubuntu&n=25: dial tcp: lookup index.docker.io on 192.168.0.1:53: read udp 172.20.10.2:59361->192.168.0.1:53: i/o timeout
baigang@baigang-virtual-machine:~$ docker search ubuntu
NAME                                                   DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
ubuntu                                                 Ubuntu is a Debian-based Linux operating sys…   8793                [OK]                
dorowu/ubuntu-desktop-lxde-vnc                         Ubuntu with openssh-server and NoVNC            244                                     [OK]
rastasheep/ubuntu-sshd                                 Dockerized SSH service, built on top of offi…   184                                     [OK]
consol/ubuntu-xfce-vnc                                 Ubuntu container with "headless" VNC session…   136                                     [OK]
ansible/ubuntu14.04-ansible                            Ubuntu 14.04 LTS with ansible                   95                                      [OK]
ubuntu-upstart                                         Upstart is an event-based replacement for th…   92                  [OK]                
neurodebian                                            NeuroDebian provides neuroscience research s…   55                  [OK]                
1and1internet/ubuntu-16-nginx-php-phpmyadmin-mysql-5   ubuntu-16-nginx-php-phpmyadmin-mysql-5          47                                      [OK]
ubuntu-debootstrap                                     debootstrap --variant=minbase --components=m…   40                  [OK]                
nuagebec/ubuntu                                        Simple always updated Ubuntu docker images w…   23                                      [OK]
tutum/ubuntu                                           Simple Ubuntu docker images with SSH access     18                                      
i386/ubuntu                                            Ubuntu is a Debian-based Linux operating sys…   15                                      
1and1internet/ubuntu-16-apache-php-7.0                 ubuntu-16-apache-php-7.0                        13                                      [OK]
ppc64le/ubuntu                                         Ubuntu is a Debian-based Linux operating sys…   12                                      
eclipse/ubuntu_jdk8                                    Ubuntu, JDK8, Maven 3, git, curl, nmap, mc, …   6                                       [OK]
1and1internet/ubuntu-16-nginx-php-5.6-wordpress-4      ubuntu-16-nginx-php-5.6-wordpress-4             6                                       [OK]
darksheer/ubuntu                                       Base Ubuntu Image -- Updated hourly             5                                       [OK]
codenvy/ubuntu_jdk8                                    Ubuntu, JDK8, Maven 3, git, curl, nmap, mc, …   5                                       [OK]
pivotaldata/ubuntu                                     A quick freshening-up of the base Ubuntu doc…   2                                       
smartentry/ubuntu                                      ubuntu with smartentry                          1                                       [OK]
1and1internet/ubuntu-16-sshd                           ubuntu-16-sshd                                  1                                       [OK]
ossobv/ubuntu                                          Custom ubuntu image from scratch (based on o…   0                                       
paasmule/bosh-tools-ubuntu                             Ubuntu based bosh-cli                           0                                       [OK]
1and1internet/ubuntu-16-healthcheck                    ubuntu-16-healthcheck                           0                                       [OK]
pivotaldata/ubuntu-gpdb-dev                            Ubuntu images for GPDB development              0

baigang@baigang-virtual-machine:~$ docker pull ubuntu
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/library/ubuntu/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fubuntu%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 192.168.0.1:53: read udp 172.20.10.2:45775->192.168.0.1:53: i/o timeout
baigang@baigang-virtual-machine:~$ docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
32802c0cfa4d: Downloading  5.897MB/32.1MB
da1315cffa03: Download complete
fa83472a3562: Download complete
f85999a86bef: Download complete

部署微服务Eureka:

其中Dockerfile内容:

FROM frolvlad/alpine-oraclejdk8
VOLUME /tmp
ADD eureka-server.jar app.jar
RUN sh -c 'touch /app.jar'
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ]

事先打的eureka-server.jar配置文件中服务启动端口设置成了1111:

server:
port: 1111

baigang@baigang-virtual-machine:~/base/eureka$ cp ~/Downloads/eureka-server.jar ~/Downloads/Dockerfile .
baigang@baigang-virtual-machine:~/base/eureka$ ll
total 50304
drwxrwxr-x 2 baigang docker     4096 Nov 25 17:55 ./
drwxrwxr-x 3 baigang docker     4096 Nov 25 17:52 ../
-rwxrw-r-- 1 baigang docker      221 Nov 25 17:55 Dockerfile*
-rw-rw-r-- 1 baigang docker 51496561 Nov 25 17:55 eureka-server.jar
baigang@baigang-virtual-machine:~/base/eureka$ docker build -t eureka .
Sending build context to Docker daemon   51.5MB
Step 1/6 : FROM frolvlad/alpine-oraclejdk8
Get https://registry-1.docker.io/v2/frolvlad/alpine-oraclejdk8/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Afrolvlad%2Falpine-oraclejdk8%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 192.168.0.1:53: read udp 172.20.10.2:45315->192.168.0.1:53: i/o timeout

baigang@baigang-virtual-machine:~/base/eureka$ cd /etc/

baigang@baigang-virtual-machine:/etc$ cd docker
baigang@baigang-virtual-machine:/etc/docker$ ll
total 20
drwxr-xr-x   2 root root  4096 Nov 25 15:32 ./
drwxr-xr-x 137 root root 12288 Nov 25 15:34 ../
-rw-------   1 root root   244 Nov 25 15:32 key.json
baigang@baigang-virtual-machine:/etc/docker$ vim key.json
baigang@baigang-virtual-machine:/etc/docker$ vim daemon.json
baigang@baigang-virtual-machine:/etc/docker$ ll
total 20
drwxr-xr-x   2 root root  4096 Nov 25 15:32 ./
drwxr-xr-x 137 root root 12288 Nov 25 15:34 ../
-rw-------   1 root root   244 Nov 25 15:32 key.json
baigang@baigang-virtual-machine:/etc/docker$ sudo vim daemon.json
baigang@baigang-virtual-machine:/etc/docker$ ll
total 24
drwxr-xr-x   2 root root  4096 Nov 25 18:04 ./
drwxr-xr-x 137 root root 12288 Nov 25 15:34 ../
-rw-r--r--   1 root root    63 Nov 25 18:04 daemon.json
-rw-------   1 root root   244 Nov 25 15:32 key.json
baigang@baigang-virtual-machine:/etc/docker$ cd ~
baigang@baigang-virtual-machine:~$ sudo service docker restart
baigang@baigang-virtual-machine:~$ cd base/eureka/
baigang@baigang-virtual-machine:~/base/eureka$ ll
total 50304
drwxrwxr-x 2 baigang docker     4096 Nov 25 17:55 ./
drwxrwxr-x 3 baigang docker     4096 Nov 25 17:52 ../

Dockerfile必须叫这个名字,下面的-t后面只能指定它所在目录,无法指定文件名称!是否需要可执行权限待查,最好加上!!
-rwxrw-r-- 1 baigang docker      221 Nov 25 17:55 Dockerfile*
-rw-rw-r-- 1 baigang docker 51496561 Nov 25 17:55 eureka-server.jar

这里只是构!建!镜!像!并没有运行容器应用!!
baigang@baigang-virtual-machine:~/base/eureka$ docker build -t eureka .
Sending build context to Docker daemon   51.5MB
Step 1/6 : FROM frolvlad/alpine-oraclejdk8
latest: Pulling from frolvlad/alpine-oraclejdk8
4fe2ade4980c: Pull complete
a0290d5a7317: Pull complete
4040ce53d3c1: Pull complete
Digest: sha256:2339d3d7daf3dad109c20767dd6e27cd43558320c1eb42f354dc71eb93098ae7
Status: Downloaded newer image for frolvlad/alpine-oraclejdk8:latest
 ---> b81355b10fa3
Step 2/6 : VOLUME /tmp
 ---> Running in 769ec3220d4c
Removing intermediate container 769ec3220d4c
 ---> a064dfa95c0e
Step 3/6 : ADD eureka-server.jar app.jar
 ---> 0ef26e4e8116
Step 4/6 : RUN sh -c 'touch /app.jar'
 ---> Running in 2cf65b4cb78e
Removing intermediate container 2cf65b4cb78e
 ---> 622315da59e2
Step 5/6 : ENV JAVA_OPTS=""
 ---> Running in 317f381011e1
Removing intermediate container 317f381011e1
 ---> f30bd01d8000
Step 6/6 : ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ]
 ---> Running in a136756c9de6
Removing intermediate container a136756c9de6
 ---> 6beca6b6ad6a
Successfully built 6beca6b6ad6a
Successfully tagged eureka:latest

查看镜像:
baigang@baigang-virtual-machine:~/base/eureka$ docker images
REPOSITORY                   TAG                 IMAGE ID            CREATED              SIZE
eureka                       latest              6beca6b6ad6a        About a minute ago   271MB
frolvlad/alpine-oraclejdk8   latest              b81355b10fa3        4 weeks ago          168MB

这里必须运!行!起!来!!才能有容器应用!!上面只是构建镜像!!
baigang@baigang-virtual-machine:~/base/eureka$ docker run --name eureka_1 -d -p 1111:1111 eureka
9355e9aaaa94c952806f6dfca3aeab2cb98f89784689ac0f8b535efcdc6ae80f

这里查看日志:
baigang@baigang-virtual-machine:~/base/eureka$ docker logs -f eureka_1

2018-11-25 10:17:11.232 [main] INFO  org.springframework.context.annotation.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@35851384: startup date [Sun Nov 25 10:17:11 GMT 2018]; root of context hierarchy
2018-11-25 10:17:12.865 [main] INFO  org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-11-25 10:17:13.038 [main] INFO  org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$b8e7ea4c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

.   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.1.RELEASE)

2018-11-25 10:17:15.636 [main] INFO  com.central.eureka.EurekaServerApp - The following profiles are active: slave0
2018-11-25 10:17:16.195 [main] INFO  org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@76a3e297: startup date [Sun Nov 25 10:17:16 GMT 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@35851384
2018-11-25 10:17:22.235 [main] INFO  org.springframework.cloud.context.scope.GenericScope - BeanFactory id=c21dbc8b-6c04-3384-8568-d2b29ec5a4f5
2018-11-25 10:17:22.281 [main] INFO  org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-11-25 10:17:23.500 [main] INFO  org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$b8e7ea4c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-25 10:17:25.510 [main] INFO  org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 1111 (http)
2018-11-25 10:17:25.782 [main] INFO  org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-1111"]
2018-11-25 10:17:25.970 [main] INFO  org.apache.catalina.core.StandardService - Starting service [Tomcat]
2018-11-25 10:17:25.971 [main] INFO  org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.29
2018-11-25 10:17:26.059 [localhost-startStop-1] INFO  org.apache.catalina.core.AprLifecycleListener - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
2018-11-25 10:17:27.103 [localhost-startStop-1] INFO  org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2018-11-25 10:17:27.104 [localhost-startStop-1] INFO  org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 10909 ms
2018-11-25 10:17:32.095 [localhost-startStop-1] WARN  com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
2018-11-25 10:17:32.096 [localhost-startStop-1] INFO  com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-11-25 10:17:33.046 [localhost-startStop-1] INFO  com.netflix.config.DynamicPropertyFactory - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@5e257241
2018-11-25 10:18:04.364 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*]
2018-11-25 10:18:04.449 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'tracingFilter' to: [/*]
2018-11-25 10:18:04.449 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'exceptionLoggingFilter' to: [/*]
2018-11-25 10:18:04.449 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-11-25 10:18:04.450 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2018-11-25 10:18:04.450 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*]
2018-11-25 10:18:04.450 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'httpTraceFilter' to: [/*]
2018-11-25 10:18:04.450 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'webMvcMetricsFilter' to: [/*]
2018-11-25 10:18:04.450 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'servletContainer' to urls: [/eureka/*]
2018-11-25 10:18:04.450 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.ServletRegistrationBean - Servlet proxyStreamServlet mapped to [/proxy.stream]
2018-11-25 10:18:04.501 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.ServletRegistrationBean - Servlet turbineStreamServlet mapped to [/turbine.stream]
2018-11-25 10:18:04.502 [localhost-startStop-1] INFO  org.springframework.boot.web.servlet.ServletRegistrationBean - Servlet dispatcherServlet mapped to [/]
2018-11-25 10:18:04.503 [localhost-startStop-1] INFO  org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar - Registered '/actuator/hystrix.stream' to hystrix.stream-actuator-endpoint
2018-11-25 10:18:08.403 [localhost-startStop-1] INFO  com.sun.jersey.server.impl.application.WebApplicationImpl - Initiating Jersey application, version 'Jersey: 1.19.1 03/11/2016 02:08 PM'
2018-11-25 10:18:08.774 [localhost-startStop-1] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using JSON encoding codec LegacyJacksonJson
2018-11-25 10:18:08.894 [localhost-startStop-1] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using JSON decoding codec LegacyJacksonJson
2018-11-25 10:18:12.367 [localhost-startStop-1] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using XML encoding codec XStreamXml
2018-11-25 10:18:12.368 [localhost-startStop-1] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using XML decoding codec XStreamXml
2018-11-25 10:18:25.843 [main] INFO  org.springframework.ui.freemarker.SpringTemplateLoader - SpringTemplateLoader for FreeMarker: using resource loader [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@76a3e297: startup date [Sun Nov 25 10:17:16 GMT 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@35851384] and template loader path [classpath:/templates/]
2018-11-25 10:18:26.382 [main] INFO  org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer - ClassTemplateLoader for Spring macros added to FreeMarker configuration
2018-11-25 10:18:28.636 [main] WARN  com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources.
2018-11-25 10:18:28.636 [main] INFO  com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2018-11-25 10:18:32.839 [main] INFO  org.springframework.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-11-25 10:18:48.647 [main] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@76a3e297: startup date [Sun Nov 25 10:17:16 GMT 2018]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@35851384
2018-11-25 10:18:50.032 [main] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Mapped "{[/hystrix/{path}]}" onto public java.lang.String org.springframework.cloud.netflix.hystrix.dashboard.HystrixDashboardController.monitor(java.lang.String,org.springframework.ui.Model,org.springframework.web.context.request.WebRequest)
2018-11-25 10:18:50.035 [main] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Mapped "{[/hystrix]}" onto public java.lang.String org.springframework.cloud.netflix.hystrix.dashboard.HystrixDashboardController.home(org.springframework.ui.Model,org.springframework.web.context.request.WebRequest)
2018-11-25 10:18:50.165 [main] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Mapped "{[/clusters],methods=[GET],produces=[application/json]}" onto public java.util.Collection<org.springframework.cloud.netflix.turbine.ClusterInformation> org.springframework.cloud.netflix.turbine.TurbineController.clusters(javax.servlet.http.HttpServletRequest)
2018-11-25 10:18:50.167 [main] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2018-11-25 10:18:50.168 [main] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2018-11-25 10:18:50.174 [main] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Mapped "{[/lastn],methods=[GET]}" onto public java.lang.String org.springframework.cloud.netflix.eureka.server.EurekaController.lastn(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.Object>)
2018-11-25 10:18:50.176 [main] INFO  org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Mapped "{[/],methods=[GET]}" onto public java.lang.String org.springframework.cloud.netflix.eureka.server.EurekaController.status(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.Object>)
2018-11-25 10:18:50.360 [main] INFO  org.springframework.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-11-25 10:18:50.360 [main] INFO  org.springframework.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-11-25 10:18:58.528 [main] INFO  org.springframework.cloud.netflix.eureka.InstanceInfoFactory - Setting initial instance status as: STARTING
2018-11-25 10:18:59.114 [main] INFO  com.netflix.discovery.DiscoveryClient - Initializing Eureka in region us-east-1
2018-11-25 10:19:00.882 [main] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using JSON encoding codec LegacyJacksonJson
2018-11-25 10:19:00.888 [main] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using JSON decoding codec LegacyJacksonJson
2018-11-25 10:19:00.888 [main] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using XML encoding codec XStreamXml
2018-11-25 10:19:00.888 [main] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using XML decoding codec XStreamXml
2018-11-25 10:19:01.166 [main] INFO  com.netflix.discovery.shared.resolver.aws.ConfigClusterResolver - Resolving eureka endpoints via configuration
2018-11-25 10:19:01.269 [main] INFO  com.netflix.discovery.DiscoveryClient - Starting heartbeat executor: renew interval is: 30
2018-11-25 10:19:01.275 [main] INFO  com.netflix.discovery.InstanceInfoReplicator - InstanceInfoReplicator onDemand update allowed rate per min is 12
2018-11-25 10:19:01.360 [main] INFO  com.netflix.discovery.DiscoveryClient - Discovery Client initialized at timestamp 1543141141281 with initial instances count: 0
2018-11-25 10:19:01.574 [main] INFO  com.netflix.eureka.DefaultEurekaServerContext - Initializing ...
2018-11-25 10:19:01.576 [main] INFO  com.netflix.eureka.cluster.PeerEurekaNodes - Adding new peer nodes [http://127.0.0.1:1111/eureka/]
2018-11-25 10:19:01.592 [main] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using JSON encoding codec LegacyJacksonJson
2018-11-25 10:19:01.593 [main] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using JSON decoding codec LegacyJacksonJson
2018-11-25 10:19:01.593 [main] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using XML encoding codec XStreamXml
2018-11-25 10:19:01.594 [main] INFO  com.netflix.discovery.provider.DiscoveryJerseyProvider - Using XML decoding codec XStreamXml
2018-11-25 10:19:01.840 [main] INFO  com.netflix.eureka.cluster.PeerEurekaNodes - Replica node URL:  http://127.0.0.1:1111/eureka/
2018-11-25 10:19:01.865 [main] INFO  com.netflix.eureka.registry.AbstractInstanceRegistry - Finished initializing remote region registries. All known remote regions: []
2018-11-25 10:19:01.866 [main] INFO  com.netflix.eureka.DefaultEurekaServerContext - Initialized
2018-11-25 10:19:02.244 [main] INFO  org.springframework.boot.actuate.endpoint.web.EndpointLinksResolver - Exposing 19 endpoint(s) beneath base path '/actuator'
2018-11-25 10:19:02.282 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/archaius],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.285 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/auditevents],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.286 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/beans],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.287 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/health],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.288 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/conditions],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.288 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/configprops],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.289 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/env/{toMatch}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.290 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/env],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.292 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/env],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v2+json || application/json],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.293 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/env],methods=[DELETE],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.294 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.295 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/loggers],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.296 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/loggers/{name}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.297 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/loggers/{name}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.298 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/heapdump],methods=[GET],produces=[application/octet-stream]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.299 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/threaddump],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.300 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/metrics],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.301 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/metrics/{requiredMetricName}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.301 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/scheduledtasks],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.302 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/httptrace],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.303 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/mappings],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.304 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/refresh],methods=[POST],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.304 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/features],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.305 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/service-registry],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v2+json || application/json],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.306 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator/service-registry],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
2018-11-25 10:19:02.308 [main] INFO  org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping - Mapped "{[/actuator],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto protected java.util.Map<java.lang.String, java.util.Map<java.lang.String, org.springframework.boot.actuate.endpoint.web.Link>> org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping.links(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2018-11-25 10:19:02.623 [main] INFO  org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Registering beans for JMX exposure on startup
2018-11-25 10:19:02.676 [main] INFO  org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Bean with name 'environmentManager' has been autodetected for JMX exposure
2018-11-25 10:19:02.679 [main] INFO  org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Bean with name 'configurationPropertiesRebinder' has been autodetected for JMX exposure
2018-11-25 10:19:02.681 [main] INFO  org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Bean with name 'refreshScope' has been autodetected for JMX exposure
2018-11-25 10:19:02.689 [main] INFO  org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Located managed bean 'environmentManager': registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager]
2018-11-25 10:19:02.714 [main] INFO  org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Located managed bean 'refreshScope': registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope]
2018-11-25 10:19:02.734 [main] INFO  org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Located managed bean 'configurationPropertiesRebinder': registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=76a3e297,type=ConfigurationPropertiesRebinder]
2018-11-25 10:19:02.817 [main] INFO  org.springframework.context.support.DefaultLifecycleProcessor - Starting beans in phase 0
2018-11-25 10:19:02.826 [main] INFO  org.springframework.cloud.netflix.turbine.SpringAggregatorFactory - Could not find monitors: []
2018-11-25 10:19:03.219 [main] INFO  com.netflix.turbine.monitor.cluster.ClusterMonitor - Registering event handler for cluster monitor: StaticListener_For_Aggregator
2018-11-25 10:19:03.435 [main] INFO  com.netflix.turbine.handler.TurbineDataDispatcher -

Just added and starting handler tuple: StaticListener_For_Aggregator
2018-11-25 10:19:03.435 [main] INFO  com.netflix.turbine.monitor.cluster.ClusterMonitor - All event handlers for cluster monitor: [StaticListener_For_Aggregator]
2018-11-25 10:19:03.435 [main] INFO  com.netflix.turbine.monitor.cluster.ClusterMonitor - Starting up the cluster monitor for default_agg
2018-11-25 10:19:03.561 [main] INFO  com.netflix.turbine.discovery.InstanceObservable - Starting InstanceObservable at frequency: 60000 millis
2018-11-25 10:19:03.561 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.CommonsInstanceDiscovery - Fetching instance list for apps: [auth-gateway, admin-server, auth-server, eureka-server, user-center]
2018-11-25 10:19:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-gateway
2018-11-25 10:19:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-gateway
2018-11-25 10:19:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: admin-server
2018-11-25 10:19:03.563 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: admin-server
2018-11-25 10:19:03.563 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-server
2018-11-25 10:19:03.563 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-server
2018-11-25 10:19:03.563 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: eureka-server
2018-11-25 10:19:03.563 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: eureka-server
2018-11-25 10:19:03.563 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: user-center
2018-11-25 10:19:03.563 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: user-center
2018-11-25 10:19:03.563 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Retrieved hosts from InstanceDiscovery: 0
2018-11-25 10:19:03.564 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Found hosts that have been previously terminated: 0
2018-11-25 10:19:03.564 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Hosts up:0, hosts down: 0
2018-11-25 10:19:03.564 [main] INFO  org.springframework.cloud.netflix.eureka.serviceregistry.EurekaServiceRegistry - Registering application eureka-server with eureka with status UP
2018-11-25 10:19:03.566 [main] INFO  com.netflix.discovery.DiscoveryClient - Saw local status change event StatusChangeEvent [timestamp=1543141143566, current=UP, previous=STARTING]
2018-11-25 10:19:03.589 [DiscoveryClient-InstanceInfoReplicator-0] INFO  com.netflix.discovery.DiscoveryClient - DiscoveryClient_EUREKA-SERVER/eureka-server:172.17.0.2:1111: registering service...
2018-11-25 10:19:03.642 [Thread-17] INFO  org.springframework.cloud.netflix.eureka.server.EurekaServerBootstrap - Setting the eureka configuration..
2018-11-25 10:19:03.658 [Thread-17] INFO  org.springframework.cloud.netflix.eureka.server.EurekaServerBootstrap - Eureka data center value eureka.datacenter is not set, defaulting to default
2018-11-25 10:19:03.659 [Thread-17] INFO  org.springframework.cloud.netflix.eureka.server.EurekaServerBootstrap - Eureka environment value eureka.environment is not set, defaulting to test
2018-11-25 10:19:04.368 [main] INFO  org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-1111"]
2018-11-25 10:19:04.587 [Thread-17] INFO  org.springframework.cloud.netflix.eureka.server.EurekaServerBootstrap - isAws returned false
2018-11-25 10:19:04.588 [Thread-17] INFO  org.springframework.cloud.netflix.eureka.server.EurekaServerBootstrap - Initialized server context
2018-11-25 10:19:04.744 [main] INFO  org.apache.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
2018-11-25 10:19:05.027 [main] INFO  org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 1111 (http) with context path ''
2018-11-25 10:19:05.061 [main] INFO  org.springframework.cloud.netflix.eureka.serviceregistry.EurekaAutoServiceRegistration - Updating port to 1111
2018-11-25 10:19:05.189 [main] INFO  com.central.eureka.EurekaServerApp - Started EurekaServerApp in 116.649 seconds (JVM running for 122.289)
2018-11-25 10:19:05.591 [http-nio-1111-exec-1] INFO  org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring FrameworkServlet 'dispatcherServlet'
2018-11-25 10:19:05.591 [http-nio-1111-exec-1] INFO  org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'dispatcherServlet': initialization started
2018-11-25 10:19:05.655 [http-nio-1111-exec-1] INFO  org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'dispatcherServlet': initialization completed in 64 ms
2018-11-25 10:19:06.084 [http-nio-1111-exec-1] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 服务:EUREKA-SERVER 注册成功啦。。。
2018-11-25 10:19:06.090 [http-nio-1111-exec-1] INFO  com.netflix.eureka.registry.AbstractInstanceRegistry - Registered instance EUREKA-SERVER/eureka-server:172.17.0.2:1111 with status UP (replication=false)
2018-11-25 10:19:06.163 [DiscoveryClient-InstanceInfoReplicator-0] INFO  com.netflix.discovery.DiscoveryClient - DiscoveryClient_EUREKA-SERVER/eureka-server:172.17.0.2:1111 - registration status: 204
2018-11-25 10:19:06.675 [http-nio-1111-exec-2] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 服务:EUREKA-SERVER 注册成功啦。。。
2018-11-25 10:19:06.836 [http-nio-1111-exec-2] INFO  com.netflix.eureka.registry.AbstractInstanceRegistry - Registered instance EUREKA-SERVER/eureka-server:172.17.0.2:1111 with status UP (replication=true)
2018-11-25 10:19:06.935 [TaskBatchingWorker-target_127.0.0.1-6] ERROR com.netflix.eureka.cluster.ReplicationTaskProcessor - It seems to be a socket read timeout exception, it will retry later. if it continues to happen and some eureka node occupied all the cpu time, you should set property 'eureka.server.peer-node-read-timeout-ms' to a bigger value
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out
    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187)
    at com.netflix.eureka.cluster.DynamicGZIPContentEncodingFilter.handle(DynamicGZIPContentEncodingFilter.java:48)
    at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27)
    at com.sun.jersey.api.client.Client.handle(Client.java:652)
    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)
    at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
    at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)
    at com.netflix.eureka.transport.JerseyReplicationClient.submitBatchUpdates(JerseyReplicationClient.java:116)
    at com.netflix.eureka.cluster.ReplicationTaskProcessor.process(ReplicationTaskProcessor.java:80)
    at com.netflix.eureka.util.batcher.TaskExecutors$BatchWorkerRunnable.run(TaskExecutors.java:187)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:161)
    at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:82)
    at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:278)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
    at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:286)
    at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:257)
    at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:230)
    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
    at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:684)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:118)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)
    ... 10 common frames omitted
2018-11-25 10:19:07.986 [http-nio-1111-exec-3] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 服务:EUREKA-SERVER 注册成功啦。。。
2018-11-25 10:19:07.986 [http-nio-1111-exec-3] INFO  com.netflix.eureka.registry.AbstractInstanceRegistry - Registered instance EUREKA-SERVER/eureka-server:172.17.0.2:1111 with status UP (replication=true)
2018-11-25 10:19:31.331 [http-nio-1111-exec-4] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:19:31.851 [http-nio-1111-exec-5] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:19:32.113 [AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@388b9bb6}] INFO  org.springframework.context.annotation.AnnotationConfigApplicationContext - Refreshing SpringClientFactory-127.0.0.1: startup date [Sun Nov 25 10:19:32 GMT 2018]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@76a3e297
2018-11-25 10:19:32.300 [AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@388b9bb6}] INFO  org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-11-25 10:19:32.903 [AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@388b9bb6}] INFO  com.netflix.config.ChainedDynamicProperty - Flipping property: 127.0.0.1.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2018-11-25 10:19:32.958 [AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@388b9bb6}] INFO  com.netflix.util.concurrent.ShutdownEnabledTimer - Shutdown hook installed for: NFLoadBalancer-PingTimer-127.0.0.1
2018-11-25 10:19:32.968 [AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@388b9bb6}] INFO  com.netflix.loadbalancer.BaseLoadBalancer - Client: 127.0.0.1 instantiated a LoadBalancer: DynamicServerListLoadBalancer:{NFLoadBalancer:name=127.0.0.1,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:null
2018-11-25 10:19:32.990 [AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@388b9bb6}] INFO  com.netflix.loadbalancer.DynamicServerListLoadBalancer - Using serverListUpdater PollingServerListUpdater
2018-11-25 10:19:32.999 [AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@388b9bb6}] INFO  com.netflix.loadbalancer.DynamicServerListLoadBalancer - DynamicServerListLoadBalancer for client 127.0.0.1 initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=127.0.0.1,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList@2ef3a748
2018-11-25 10:20:01.403 [http-nio-1111-exec-6] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:20:01.920 [http-nio-1111-exec-7] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:20:03.561 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.CommonsInstanceDiscovery - Fetching instance list for apps: [auth-gateway, admin-server, auth-server, eureka-server, user-center]
2018-11-25 10:20:03.561 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-gateway
2018-11-25 10:20:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-gateway
2018-11-25 10:20:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: admin-server
2018-11-25 10:20:03.570 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: admin-server
2018-11-25 10:20:03.570 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-server
2018-11-25 10:20:03.570 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-server
2018-11-25 10:20:03.570 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: eureka-server
2018-11-25 10:20:03.570 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: eureka-server
2018-11-25 10:20:03.570 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: user-center
2018-11-25 10:20:03.571 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: user-center
2018-11-25 10:20:03.571 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Retrieved hosts from InstanceDiscovery: 0
2018-11-25 10:20:03.571 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Found hosts that have been previously terminated: 0
2018-11-25 10:20:03.571 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Hosts up:0, hosts down: 0
2018-11-25 10:20:31.423 [http-nio-1111-exec-8] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:20:31.931 [http-nio-1111-exec-9] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:21:01.447 [http-nio-1111-exec-10] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:21:01.958 [http-nio-1111-exec-1] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:21:03.561 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.CommonsInstanceDiscovery - Fetching instance list for apps: [auth-gateway, admin-server, auth-server, eureka-server, user-center]
2018-11-25 10:21:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-gateway
2018-11-25 10:21:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-gateway
2018-11-25 10:21:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: admin-server
2018-11-25 10:21:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: admin-server
2018-11-25 10:21:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-server
2018-11-25 10:21:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-server
2018-11-25 10:21:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: eureka-server
2018-11-25 10:21:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: eureka-server
2018-11-25 10:21:03.563 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: user-center
2018-11-25 10:21:03.563 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: user-center
2018-11-25 10:21:03.563 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Retrieved hosts from InstanceDiscovery: 0
2018-11-25 10:21:03.563 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Found hosts that have been previously terminated: 0
2018-11-25 10:21:03.563 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Hosts up:0, hosts down: 0
2018-11-25 10:21:04.592 [Thread-17] INFO  com.netflix.eureka.registry.PeerAwareInstanceRegistryImpl - Got 1 instances from neighboring DS node
2018-11-25 10:21:04.593 [Thread-17] INFO  com.netflix.eureka.registry.PeerAwareInstanceRegistryImpl - Renew threshold is: 1
2018-11-25 10:21:04.593 [Thread-17] INFO  com.netflix.eureka.registry.PeerAwareInstanceRegistryImpl - Changing status to UP
2018-11-25 10:21:04.624 [Thread-17] INFO  org.springframework.cloud.netflix.eureka.server.EurekaServerInitializerConfiguration - Started Eureka Server
2018-11-25 10:21:04.625 [Thread-17] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 服务 Aualiable。。
2018-11-25 10:21:31.479 [http-nio-1111-exec-2] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:21:31.996 [http-nio-1111-exec-3] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:22:01.500 [http-nio-1111-exec-4] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:22:02.010 [http-nio-1111-exec-5] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:22:03.561 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.CommonsInstanceDiscovery - Fetching instance list for apps: [auth-gateway, admin-server, auth-server, eureka-server, user-center]
2018-11-25 10:22:04.617 [Eureka-EvictionTimer] INFO  com.netflix.eureka.registry.AbstractInstanceRegistry - Running the evict task with compensationTime 0ms
2018-11-25 10:22:05.168 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-gateway
2018-11-25 10:22:05.170 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-gateway
2018-11-25 10:22:05.170 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: admin-server
2018-11-25 10:22:05.171 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: admin-server
2018-11-25 10:22:05.171 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-server
2018-11-25 10:22:05.171 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-server
2018-11-25 10:22:05.171 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: eureka-server
2018-11-25 10:22:05.171 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: eureka-server
2018-11-25 10:22:05.171 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: user-center
2018-11-25 10:22:05.171 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: user-center
2018-11-25 10:22:05.171 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Retrieved hosts from InstanceDiscovery: 0
2018-11-25 10:22:05.172 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Found hosts that have been previously terminated: 0
2018-11-25 10:22:05.172 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Hosts up:0, hosts down: 0
2018-11-25 10:22:31.557 [http-nio-1111-exec-6] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:22:32.087 [http-nio-1111-exec-7] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:23:01.588 [http-nio-1111-exec-8] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:23:02.097 [http-nio-1111-exec-9] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:23:03.561 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.CommonsInstanceDiscovery - Fetching instance list for apps: [auth-gateway, admin-server, auth-server, eureka-server, user-center]
2018-11-25 10:23:03.561 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-gateway
2018-11-25 10:23:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-gateway
2018-11-25 10:23:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: admin-server
2018-11-25 10:23:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: admin-server
2018-11-25 10:23:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-server
2018-11-25 10:23:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-server
2018-11-25 10:23:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: eureka-server
2018-11-25 10:23:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: eureka-server
2018-11-25 10:23:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: user-center
2018-11-25 10:23:03.562 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: user-center
2018-11-25 10:23:03.562 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Retrieved hosts from InstanceDiscovery: 0
2018-11-25 10:23:03.562 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Found hosts that have been previously terminated: 0
2018-11-25 10:23:03.562 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Hosts up:0, hosts down: 0
2018-11-25 10:23:04.616 [Eureka-EvictionTimer] INFO  com.netflix.eureka.registry.AbstractInstanceRegistry - Running the evict task with compensationTime 0ms
2018-11-25 10:23:31.619 [http-nio-1111-exec-10] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:23:32.135 [http-nio-1111-exec-1] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:24:01.642 [http-nio-1111-exec-2] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:24:02.162 [http-nio-1111-exec-3] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:24:03.562 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.CommonsInstanceDiscovery - Fetching instance list for apps: [auth-gateway, admin-server, auth-server, eureka-server, user-center]
2018-11-25 10:24:03.589 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-gateway
2018-11-25 10:24:03.589 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-gateway
2018-11-25 10:24:03.589 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: admin-server
2018-11-25 10:24:03.589 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: admin-server
2018-11-25 10:24:03.589 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-server
2018-11-25 10:24:03.589 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-server
2018-11-25 10:24:03.589 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: eureka-server
2018-11-25 10:24:03.589 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: eureka-server
2018-11-25 10:24:03.589 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: user-center
2018-11-25 10:24:03.590 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: user-center
2018-11-25 10:24:03.590 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Retrieved hosts from InstanceDiscovery: 0
2018-11-25 10:24:03.590 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Found hosts that have been previously terminated: 0
2018-11-25 10:24:03.590 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Hosts up:0, hosts down: 0
2018-11-25 10:24:03.665 [AsyncResolver-bootstrap-executor-0] INFO  com.netflix.discovery.shared.resolver.aws.ConfigClusterResolver - Resolving eureka endpoints via configuration
2018-11-25 10:24:04.616 [Eureka-EvictionTimer] INFO  com.netflix.eureka.registry.AbstractInstanceRegistry - Running the evict task with compensationTime 0ms
2018-11-25 10:24:31.678 [http-nio-1111-exec-4] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:24:32.198 [http-nio-1111-exec-5] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:25:01.698 [http-nio-1111-exec-1] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:25:02.226 [http-nio-1111-exec-3] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:25:03.563 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.CommonsInstanceDiscovery - Fetching instance list for apps: [auth-gateway, admin-server, auth-server, eureka-server, user-center]
2018-11-25 10:25:03.563 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-gateway
2018-11-25 10:25:03.563 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-gateway
2018-11-25 10:25:03.563 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: admin-server
2018-11-25 10:25:03.563 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: admin-server
2018-11-25 10:25:03.563 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: auth-server
2018-11-25 10:25:03.563 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: auth-server
2018-11-25 10:25:03.563 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: eureka-server
2018-11-25 10:25:03.563 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: eureka-server
2018-11-25 10:25:03.563 [Timer-0] INFO  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Fetching instances for app: user-center
2018-11-25 10:25:03.563 [Timer-0] WARN  org.springframework.cloud.netflix.turbine.EurekaInstanceDiscovery - Eureka returned null for app: user-center
2018-11-25 10:25:03.564 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Retrieved hosts from InstanceDiscovery: 0
2018-11-25 10:25:03.564 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Found hosts that have been previously terminated: 0
2018-11-25 10:25:03.564 [Timer-0] INFO  com.netflix.turbine.discovery.InstanceObservable - Hosts up:0, hosts down: 0
2018-11-25 10:25:04.617 [Eureka-EvictionTimer] INFO  com.netflix.eureka.registry.AbstractInstanceRegistry - Running the evict task with compensationTime 0ms
2018-11-25 10:25:31.775 [http-nio-1111-exec-5] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。
2018-11-25 10:25:32.319 [http-nio-1111-exec-6] DEBUG com.central.eureka.listener.EurekaInstanceCanceledListener - 心跳检测服务:EUREKA-SERVER。。

baigang@baigang-virtual-machine:~/base/eureka$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                    NAMES
9355e9aaaa94        eureka              "sh -c 'java $JAVA_O…"   12 minutes ago      Up 12 minutes       0.0.0.0:1111->1111/tcp   eureka_1
baigang@baigang-virtual-machine:~/base/eureka$ docker images
REPOSITORY                   TAG                 IMAGE ID            CREATED             SIZE
eureka                       latest              6beca6b6ad6a        21 minutes ago      271MB
frolvlad/alpine-oraclejdk8   latest              b81355b10fa3        4 weeks ago         168MB
baigang@baigang-virtual-machine:~/base/eureka$ docker stop eureka_1
eureka_1

容器启动情况下,本机访问localhost:1111或外部访问Ubuntu虚拟机ip+该端口,均可正常访问到该容器启动的Eureka监控主页。

Docker部署微服务的更多相关文章

  1. 零基础用Docker部署微服务

    1. docker架构 这里的Client和DOCKER_HOST(docker server)都是在本地的,docker仓库Registry是在远程的: Client的docker命令通过Docke ...

  2. 使用docker部署微服务

    https://my.oschina.net/silenceyawen/blog/1819472 http://jvm123.com/2019/08/docker-shi-yong.html 从201 ...

  3. docker部署微服务遇到的问题二

    自己尝试将微服务部署到docker上面,期间按照周立的微服务架构实战13章进行学习 按照书上的步骤,一切部署成功之后,尝试访问,一直没有成功访问,周五部署了两遍 折腾了一下 还是没有找到为啥,周一继续 ...

  4. Docker部署微服务项目

    测试包准备工作 1.spring.io或者ide创建demo工程 spring官网 2.本地demo代码,打包成jar包 使用Dockerfile构建微服务镜像 3.将jar包上传到你的vps lin ...

  5. docker微服务部署之:六、Rancher管理部署微服务

    docker微服务部署之:五.利用DockerMaven插件自动构建镜像 一. 什么是Rancher Rancher是一个开源的企业级容器管理平台.通过Rancher,企业再也不必自己使用一系列的开源 ...

  6. docker入门与部署微服务--学习笔记

    最近公司进一步去windows,走向 linux+云化. 原来的一大坨windows虚拟机服务器都要转向linux, 既然走向linux的话,那么docker肯定是要涉足的. 故学习了docker入门 ...

  7. Docker实战 | 第二篇:IDEA集成Docker插件实现一键自动打包部署微服务项目,一劳永逸的技术手段值得一试

    一. 前言 大家在自己玩微服务项目的时候,动辄十几个服务,每次修改逐一部署繁琐不说也会浪费越来越多时间,所以本篇整理通过一次性配置实现一键部署微服务,实现真正所谓的一劳永逸. 二. 配置服务器 1. ...

  8. Devops 开发运维高级篇之Jenkins+Docker+SpringCloud微服务持续集成——部署方案优化

    Devops 开发运维高级篇之Jenkins+Docker+SpringCloud微服务持续集成--部署方案优化 之前我们做的方案部署都是只能选择一个微服务部署并只有一台生产服务器,每个微服务只有一个 ...

  9. 【译文】用Spring Cloud和Docker搭建微服务平台

    by Kenny Bastani Sunday, July 12, 2015 转自:http://www.kennybastani.com/2015/07/spring-cloud-docker-mi ...

随机推荐

  1. linux基本格式和常用目录命令一

    1: cd 绝对路径 2: cd 相对路径 名字开头 ./开头 ../开头 3: cd ~: 去到当前用户所在目录; 4: pwd获取当前的路径的绝对路径; 5: ls 与ls -l 6: cat 操 ...

  2. c++引用和指针的彻底理解

     ★ 相同点: 1. 都是地址的概念: 指针指向一块内存,它的内容是所指内存的地址:引用是某块内存的别名.  ★ 区别: 1. 指针是一个实体,而引用仅是个别名: 2. 引用使用时无需解引用(*),指 ...

  3. latex与word之间的各种转化方法

    https://blog.csdn.net/communix/article/details/49965233 https://blog.csdn.net/yaoqi_isee/article/det ...

  4. 【2017-03-10】T-sql基础语句及条件,高级查询

    一.T-sql基础语句 1.创建数据库:create database 数据库名  (不能中文,不能数字开头,不能符号开头) 2.删除数据库:drop database 数据库名 3.选择数据库:us ...

  5. python: ImportError: cannot import name 'Style' from 'openpyxl.styles' 解决方法

    import os, openpyxl from openpyxl.styles import Font, Style os.chdir("C:\\") wb = openpyxl ...

  6. mysql 问题:连不上

    问题描述: 客户端报错: MySQL Authentication plugin ‘caching_sha2_password’ cannot be loaded 解决方式: ALTER USER ' ...

  7. PHP框架CI CodeIgniter 的log_message开启日志记录方法

    PHP框架CI CodeIgniter 的log_message开启日志记录方法 第一步:index.php文件,修改环境为开发环境define(‘ENVIRONMENT’, ‘development ...

  8. python装饰器介绍

    """装饰器 定义:本质是函数(器:就是函数的意思),功能:装饰其他函数,就是为其他函数添加附加功能 原则: 1. 不能修改被装饰的函数的源代码 2. 不能修改被装饰的函 ...

  9. socket聊天的业务逻辑

        一.主要思想:     1.如果用户A想要发消息给用户B,A需要将消息发送到一个服务器上,服务器接收到A发送的消息之后,再把消息发送给B,B接收到消息     2.当用户B断开连接时服务器不会 ...

  10. 为什么要使用yocto

    作为灵活多变且经济高效的解决方案,嵌入式 Linux展现了巨大的价值,并广泛应用于消费电子设备.网络设备.零售点和行业应用程序.然而,广泛的应用也意味着多样化的业务需求,嵌入式解决方案开发人员必须构建 ...