O que eu digitei no dockercompose =
db:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=123456
blog:
image: wordpress
environment:
- WORDPRESS_DB_PASSWORD=123456
links:
- db:mysql
ports:
- 8080:80
Resultado do docker-compose up (pagina do WP deveria funcionar no navegador mas não funciona):
db_1 | Initializing database
blog_1 | WordPress not found in /var/www/html - copying now...
db_1 | 2017-04-11T08:59:18.903782Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use
--explicit_defaults_for_timestamp server option (see documentation for more details).
blog_1 | Complete! WordPress has been successfully copied to /var/www/html
db_1 | 2017-04-11T08:59:23.606153Z 0 [Warning] InnoDB: New log files created, LSN=45790
blog_1 |
db_1 | 2017-04-11T08:59:24.406289Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
blog_1 | Warning: mysqli::mysqli(): (HY000/2002): Connection refused in - on line 22
db_1 | 2017-04-11T08:59:25.113835Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 295ef1c2-1e95-11e7-a6c1-0242ac110002.
blog_1 |
db_1 | 2017-04-11T08:59:25.290696Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
blog_1 | MySQL Connection Error: (2002) Connection refused
db_1 | 2017-04-11T08:59:25.302461Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
blog_1 |
db_1 | 2017-04-11T08:59:56.610416Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
blog_1 | Warning: mysqli::mysqli(): (HY000/2002): Connection refused in - on line 22
db_1 | 2017-04-11T08:59:56.610460Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
blog_1 |
db_1 | 2017-04-11T08:59:56.610478Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
blog_1 | MySQL Connection Error: (2002) Connection refused
db_1 | 2017-04-11T08:59:56.610493Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
blog_1 |
db_1 | 2017-04-11T08:59:56.610537Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
blog_1 | Warning: mysqli::mysqli(): (HY000/2002): Connection refused in - on line 22
db_1 | Database initialized
blog_1 |
db_1 | Initializing certificates
blog_1 | MySQL Connection Error: (2002) Connection refused
db_1 | Generating a 2048 bit RSA private key
blog_1 |
db_1 | ............................................+++
blog_1 | MySQL Connection Error: (2002) Connection refused
db_1 | ................+++
blog_1 |
blog_1 | Warning: mysqli::mysqli(): (HY000/2002): Connection refused in - on line 22
blog_1 |
blog_1 |
blog_1 | Warning: mysqli::mysqli(): (HY000/2002): Connection refused in - on line 22
blog_1 | MySQL Connection Error: (2002) Connection refused
blog_1 |
blog_1 | Warning: mysqli::mysqli(): (HY000/2002): Connection refused in - on line 22
blog_1 |
blog_1 | MySQL Connection Error: (2002) Connection refused
blog_1 |
blog_1 | MySQL Connection Error: (2002) Connection refused
blog_1 |
blog_1 | Warning: mysqli::mysqli(): (HY000/2002): Connection refused in - on line 22
blog_1 |
blog_1 | Warning: mysqli::mysqli(): (HY000/2002): Connection refused in - on line 22
blog_1 |
blog_1 | MySQL Connection Error: (2002) Connection refused
blog_1 | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
blog_1 | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
blog_1 | [Tue Apr 11 09:00:28.956500 2017] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.10 (Debian) PHP/5.6.30 configured -- resuming normal operations
blog_1 | [Tue Apr 11 09:00:28.956581 2017] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
db_1 | unable to write 'random state'
db_1 | writing new private key to 'ca-key.pem'
db_1 | -----
db_1 | Generating a 2048 bit RSA private key
db_1 | .........................................................+++
db_1 | ......+++
db_1 | unable to write 'random state'
db_1 | writing new private key to 'server-key.pem'
db_1 | -----
db_1 | Generating a 2048 bit RSA private key
db_1 | ....................+++
db_1 | ...................+++
db_1 | unable to write 'random state'
db_1 | writing new private key to 'client-key.pem'
db_1 | -----
db_1 | Certificates initialized
db_1 | MySQL init process in progress...
db_1 | 2017-04-11T09:00:09.279263Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use
--explicit_defaults_for_timestamp server option (see documentation for more details).
db_1 | 2017-04-11T09:00:09.280956Z 0 [Note] mysqld (mysqld 5.7.17) starting as process 91 ...
db_1 | 2017-04-11T09:00:09.286278Z 0 [Note] InnoDB: PUNCH HOLE support available
db_1 | 2017-04-11T09:00:09.286326Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1 | 2017-04-11T09:00:09.286341Z 0 [Note] InnoDB: Uses event mutexes
db_1 | 2017-04-11T09:00:09.286352Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
db_1 | 2017-04-11T09:00:09.286362Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
db_1 | 2017-04-11T09:00:09.286371Z 0 [Note] InnoDB: Using Linux native AIO
db_1 | 2017-04-11T09:00:09.286818Z 0 [Note] InnoDB: Number of pools: 1
db_1 | 2017-04-11T09:00:09.286999Z 0 [Note] InnoDB: Using CPU crc32 instructions
db_1 | 2017-04-11T09:00:09.289840Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
db_1 | 2017-04-11T09:00:09.306373Z 0 [Note] InnoDB: Completed initialization of buffer pool
db_1 | 2017-04-11T09:00:09.313410Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1 | 2017-04-11T09:00:09.397454Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
db_1 | 2017-04-11T09:00:09.561414Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1 | 2017-04-11T09:00:09.561558Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1 | 2017-04-11T09:00:09.898516Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1 | 2017-04-11T09:00:09.901424Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
db_1 | 2017-04-11T09:00:09.901474Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
db_1 | 2017-04-11T09:00:09.903256Z 0 [Note] InnoDB: 5.7.17 started; log sequence number 2535702
db_1 | 2017-04-11T09:00:09.903455Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1 | 2017-04-11T09:00:09.905573Z 0 [Note] InnoDB: Buffer pool(s) load completed at 170411 9:00:09
db_1 | 2017-04-11T09:00:09.929142Z 0 [Note] Plugin 'FEDERATED' is disabled.
db_1 | 2017-04-11T09:00:09.965056Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
db_1 | 2017-04-11T09:00:09.965336Z 0 [Warning] CA certificate ca.pem is self signed.
db_1 | 2017-04-11T09:00:10.041393Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:10.041434Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:10.041453Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:10.041464Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:10.046433Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:10.053463Z 0 [Note] Event Scheduler: Loaded 0 events
db_1 | 2017-04-11T09:00:10.053617Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check.
db_1 | 2017-04-11T09:00:10.053640Z 0 [Note] Beginning of list of non-natively partitioned tables
db_1 | 2017-04-11T09:00:10.092800Z 0 [Note] End of list of non-natively partitioned tables
db_1 | 2017-04-11T09:00:10.092991Z 0 [Note] mysqld: ready for connections.
db_1 | Version: '5.7.17' socket: '/var/run/mysqld/mysqld.sock' port: 0 MySQL Community Server (GPL)
db_1 | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
db_1 | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
db_1 | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
db_1 | 2017-04-11T09:00:21.358978Z 5 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:21.359030Z 5 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:21.359054Z 5 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:21.359064Z 5 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:21.359101Z 5 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip name-resolve mode.
db_1 |
db_1 | 2017-04-11T09:00:21.461666Z 0 [Note] Giving 0 client threads a chance to die gracefully
db_1 | 2017-04-11T09:00:21.461704Z 0 [Note] Shutting down slave threads
db_1 | 2017-04-11T09:00:21.466954Z 0 [Note] Forcefully disconnecting 0 remaining clients
db_1 | 2017-04-11T09:00:21.466994Z 0 [Note] Event Scheduler: Purging the queue. 0 events
db_1 | 2017-04-11T09:00:21.467081Z 0 [Note] Binlog end
db_1 | 2017-04-11T09:00:21.468406Z 0 [Note] Shutting down plugin 'ngram'
db_1 | 2017-04-11T09:00:21.468424Z 0 [Note] Shutting down plugin 'BLACKHOLE'
db_1 | 2017-04-11T09:00:21.468438Z 0 [Note] Shutting down plugin 'partition'
db_1 | 2017-04-11T09:00:21.468446Z 0 [Note] Shutting down plugin 'ARCHIVE'
db_1 | 2017-04-11T09:00:21.468451Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
db_1 | 2017-04-11T09:00:21.468458Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
db_1 | 2017-04-11T09:00:21.468463Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
db_1 | 2017-04-11T09:00:21.468468Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
db_1 | 2017-04-11T09:00:21.468473Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
db_1 | 2017-04-11T09:00:21.468478Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
db_1 | 2017-04-11T09:00:21.468483Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
db_1 | 2017-04-11T09:00:21.468488Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
db_1 | 2017-04-11T09:00:21.468493Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
db_1 | 2017-04-11T09:00:21.468498Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
db_1 | 2017-04-11T09:00:21.468503Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
db_1 | 2017-04-11T09:00:21.468508Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
db_1 | 2017-04-11T09:00:21.468512Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
db_1 | 2017-04-11T09:00:21.468517Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
db_1 | 2017-04-11T09:00:21.468522Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
db_1 | 2017-04-11T09:00:21.468527Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
db_1 | 2017-04-11T09:00:21.468532Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
db_1 | 2017-04-11T09:00:21.468537Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
db_1 | 2017-04-11T09:00:21.468542Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
db_1 | 2017-04-11T09:00:21.468547Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
db_1 | 2017-04-11T09:00:21.468551Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
db_1 | 2017-04-11T09:00:21.468556Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
db_1 | 2017-04-11T09:00:21.468561Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
db_1 | 2017-04-11T09:00:21.468566Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
db_1 | 2017-04-11T09:00:21.468571Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
db_1 | 2017-04-11T09:00:21.468576Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
db_1 | 2017-04-11T09:00:21.468645Z 0 [Note] Shutting down plugin 'INNODB_CMP'
db_1 | 2017-04-11T09:00:21.468648Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
db_1 | 2017-04-11T09:00:21.468650Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
db_1 | 2017-04-11T09:00:21.468652Z 0 [Note] Shutting down plugin 'INNODB_TRX'
db_1 | 2017-04-11T09:00:21.468654Z 0 [Note] Shutting down plugin 'InnoDB'
db_1 | 2017-04-11T09:00:21.468757Z 0 [Note] InnoDB: FTS optimize thread exiting.
db_1 | 2017-04-11T09:00:21.468904Z 0 [Note] InnoDB: Starting shutdown...
db_1 | 2017-04-11T09:00:21.569227Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
db_1 | 2017-04-11T09:00:21.569892Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 170411 9:00:21
db_1 | 2017-04-11T09:00:24.255557Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12132747
db_1 | 2017-04-11T09:00:24.256224Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
db_1 | 2017-04-11T09:00:24.256244Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
db_1 | 2017-04-11T09:00:24.256253Z 0 [Note] Shutting down plugin 'MyISAM'
db_1 | 2017-04-11T09:00:24.256269Z 0 [Note] Shutting down plugin 'CSV'
db_1 | 2017-04-11T09:00:24.256278Z 0 [Note] Shutting down plugin 'MEMORY'
db_1 | 2017-04-11T09:00:24.256288Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
db_1 | 2017-04-11T09:00:24.256332Z 0 [Note] Shutting down plugin 'sha256_password'
db_1 | 2017-04-11T09:00:24.256339Z 0 [Note] Shutting down plugin 'mysql_native_password'
db_1 | 2017-04-11T09:00:24.256560Z 0 [Note] Shutting down plugin 'binlog'
db_1 | 2017-04-11T09:00:24.257465Z 0 [Note] mysqld: Shutdown complete
db_1 |
db_1 |
db_1 | MySQL init process done. Ready for start up.
db_1 |
db_1 | 2017-04-11T09:00:24.600248Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
db_1 | 2017-04-11T09:00:24.601581Z 0 [Note] mysqld (mysqld 5.7.17) starting as process 1 ...
db_1 | 2017-04-11T09:00:24.644132Z 0 [Note] InnoDB: PUNCH HOLE support available
db_1 | 2017-04-11T09:00:24.644175Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1 | 2017-04-11T09:00:24.644181Z 0 [Note] InnoDB: Uses event mutexes
db_1 | 2017-04-11T09:00:24.644185Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
db_1 | 2017-04-11T09:00:24.644189Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
db_1 | 2017-04-11T09:00:24.644192Z 0 [Note] InnoDB: Using Linux native AIO
db_1 | 2017-04-11T09:00:24.644521Z 0 [Note] InnoDB: Number of pools: 1
db_1 | 2017-04-11T09:00:24.644652Z 0 [Note] InnoDB: Using CPU crc32 instructions
db_1 | 2017-04-11T09:00:24.646502Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
db_1 | 2017-04-11T09:00:24.655292Z 0 [Note] InnoDB: Completed initialization of buffer pool
db_1 | 2017-04-11T09:00:24.657717Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1 | 2017-04-11T09:00:24.671350Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
db_1 | 2017-04-11T09:00:25.190090Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1 | 2017-04-11T09:00:25.190353Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1 | 2017-04-11T09:00:25.459314Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1 | 2017-04-11T09:00:25.463567Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
db_1 | 2017-04-11T09:00:25.463628Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
db_1 | 2017-04-11T09:00:25.474399Z 0 [Note] InnoDB: 5.7.17 started; log sequence number 12132747
db_1 | 2017-04-11T09:00:25.474746Z 0 [Note] Plugin 'FEDERATED' is disabled.
db_1 | 2017-04-11T09:00:25.477455Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1 | 2017-04-11T09:00:25.486521Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
db_1 | 2017-04-11T09:00:25.486985Z 0 [Warning] CA certificate ca.pem is self signed.
db_1 | 2017-04-11T09:00:25.487457Z 0 [Note] InnoDB: Buffer pool(s) load completed at 170411 9:00:25
db_1 | 2017-04-11T09:00:25.489466Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
db_1 | 2017-04-11T09:00:25.489510Z 0 [Note] IPv6 is available.
db_1 | 2017-04-11T09:00:25.489523Z 0 [Note] - '::' resolves to '::';
db_1 | 2017-04-11T09:00:25.489557Z 0 [Note] Server socket created on IP: '::'.
db_1 | 2017-04-11T09:00:25.528827Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:25.528883Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:25.528918Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:25.528949Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:25.535878Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2017-04-11T09:00:25.542545Z 0 [Note] Event Scheduler: Loaded 0 events
db_1 | 2017-04-11T09:00:25.542703Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check.
db_1 | 2017-04-11T09:00:25.542714Z 0 [Note] Beginning of list of non-natively partitioned tables
db_1 | 2017-04-11T09:00:25.568067Z 0 [Note] End of list of non-natively partitioned tables
db_1 | 2017-04-11T09:00:25.568279Z 0 [Note] mysqld: ready for connections.
db_1 | Version: '5.7.17' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)