[root@docker ~]# docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: 77585211314
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
[root@docker ~]# docker run -it --link atlassian-mysql:mysql --rm mysql sh -c 'exec mysql -h"$MYSQL_PORT_3306_TCP_ADDR" -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD"'
Unable to find image 'mysql:latest' locally
latest: Pulling from library/mysql
802b00ed6f79: Already exists
30f19a05b898: Already exists
3e43303be5e9: Already exists
94b281824ae2: Already exists
51eb397095b1: Already exists
54567da6fdf0: Already exists
bc57ddb85cce: Already exists
d6cd3c7302aa: Pull complete
d8263dad8dbb: Pull complete
780f2f86056d: Pull complete
8e0761cb58cd: Pull complete
7588cfc269e5: Pull complete
Digest: sha256:038f5f6ea8c8f63cfce1bce9c057ab3691cad867e18da8ad4ba6c90874d0537a
Status: Downloaded newer image for mysql:latest
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.23 MySQL Community Server (GPL)
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database jira default character set utf8 collate utf8_bin;
Query OK, 1 row affected (0.00 sec)
mysql> CREATE USER `jira`@`%` IDENTIFIED BY 'jira';GRANT ALL ON *.* TO `jira`@`%` WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
mysql> alter user 'jira'@'%' identified with mysql_native_password by 'jira';
Query OK, 0 rows affected (0.00 sec)
mysql> set global transaction isolation level read committed;
Query OK, 0 rows affected (0.00 sec)
mysql> set session transaction isolation level read committed;
Query OK, 0 rows affected (0.00 sec)
mysql> quit
Bye
[root@docker ~]# docker run --name mysql -p 3306:3306 -d 563a026a1511
7dc84ad20031aa8cd4798fc2d5380b942ce4b13556a6b85aa4455ee29139c5e0
[root@docker ~]# docker pull 77585211314/wiki:wiki_tag
wiki_tag: Pulling from 77585211314/wiki
8e3ba11ec2a2: Pull complete
311ad0da4533: Pull complete
df312c74ce16: Pull complete
c19dbee7daf1: Pull complete
fa7723f0d4f4: Pull complete
Digest: sha256:67cc6ac6a6418b00d1bdbf996de27258072f448c8a7b412d29ad98e54d09cd6d
Status: Downloaded newer image for 77585211314/wiki:wiki_tag
[root@docker ~]# docker run --name wiki -p 8099:8090 -d 1ec570c09a57
63bbbdf2e62e8d1d35c15208bb227049ec2bb2008fd707a471f59e93d6080ea6
[root@docker ~]# docker logs -f -t --tail 100 wiki
2018-09-11T03:03:28.159520347Z executing as current user
2018-09-11T03:03:28.162671717Z If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide
2018-09-11T03:03:28.164116202Z
2018-09-11T03:03:28.164133302Z Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
2018-09-11T03:03:28.164429699Z ---------------------------------------------------------------------------
2018-09-11T03:03:28.164468099Z Using Java: /usr/lib/jvm/java-1.8-openjdk/bin/java
2018-09-11T03:03:28.746815075Z 2018-09-11 03:03:28,745 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] A Context element for ${confluence.context.path}/synchrony-proxy is found in /opt/atlassian/confluence/conf/server.xml. No further action is required
2018-09-11T03:03:28.750705137Z ---------------------------------------------------------------------------
2018-09-11T03:03:29.637576621Z 11-Sep-2018 03:03:29.634 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]
2018-09-11T03:03:29.653584263Z 11-Sep-2018 03:03:29.653 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
2018-09-11T03:03:29.660154599Z 11-Sep-2018 03:03:29.659 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 578 ms
2018-09-11T03:03:29.666430337Z 11-Sep-2018 03:03:29.666 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat-Standalone]
2018-09-11T03:03:29.666522136Z 11-Sep-2018 03:03:29.666 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.10
2018-09-11T03:03:30.796605029Z 11-Sep-2018 03:03:30.795 INFO [localhost-startStop-2] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2018-09-11T03:03:31.014018293Z 11-Sep-2018 03:03:31.013 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: [com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@9eb780a]
2018-09-11T03:03:31.277920599Z 11-Sep-2018 03:03:31.277 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'
2018-09-11T03:03:31.277955699Z 11-Sep-2018 03:03:31.277 INFO [localhost-startStop-2] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started
2018-09-11T03:03:31.282125358Z 11-Sep-2018 03:03:31.281 INFO [localhost-startStop-2] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Tue Sep 11 03:03:31 GMT 2018]; root of context hierarchy
2018-09-11T03:03:31.333036757Z 11-Sep-2018 03:03:31.332 INFO [localhost-startStop-2] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions Registering annotated classes: [class com.atlassian.synchrony.proxy.websocket.WebSocketConfig,class com.atlassian.synchrony.proxy.web.SynchronyWebMvcConfig]
2018-09-11T03:03:31.464575664Z 2018-09-11 03:03:31,460 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 6.11.0 [build 7801 based on commit hash 0ac8ad8167063a2d16fb426a10b9044cf4bf1b17] - synchrony version 2.1.0-master-cdbe2074
2018-09-11T03:03:31.782522739Z 11-Sep-2018 03:03:31.782 INFO [localhost-startStop-2] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'
2018-09-11T03:03:31.826123911Z 11-Sep-2018 03:03:31.825 INFO [localhost-startStop-2] org.springframework.web.socket.server.support.WebSocketHandlerMapping.registerHandler Mapped URL path [/v1/bayeux-sync1] onto handler of type [class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler]
2018-09-11T03:03:31.987506725Z 11-Sep-2018 03:03:31.987 INFO [localhost-startStop-2] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{[/reload],methods=[PUT]}" onto public org.springframework.http.ResponseEntity com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.reloadConfiguration(com.atlassian.synchrony.proxy.web.SynchronyProxyConfigPayload)
2018-09-11T03:03:31.988988310Z 11-Sep-2018 03:03:31.988 INFO [localhost-startStop-2] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{[/healthcheck]}" onto public com.atlassian.synchrony.proxy.web.HealthCheckResult com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.getSynchronyProxyInfo()
2018-09-11T03:03:32.254172104Z 11-Sep-2018 03:03:32.253 INFO [localhost-startStop-2] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date [Tue Sep 11 03:03:31 GMT 2018]; root of context hierarchy
2018-09-11T03:03:32.316709889Z 11-Sep-2018 03:03:32.316 INFO [localhost-startStop-2] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler]
2018-09-11T03:03:32.390967760Z 11-Sep-2018 03:03:32.390 INFO [localhost-startStop-2] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647
2018-09-11T03:03:32.412063752Z 11-Sep-2018 03:03:32.411 INFO [localhost-startStop-2] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1134 ms
2018-09-11T03:03:40.925780977Z 11-Sep-2018 03:03:40.924 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]
2018-09-11T03:03:40.936456972Z 11-Sep-2018 03:03:40.935 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 11275 ms
[root@docker ~]# docker loginLogin with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.Username: 77585211314...