I'm trying to install Joomla! 3.x on my computer inside a Docker container, but when I run Joomla! and try to use my browser (Firefox) to navigate to the installation page on my chosen port on localhost, I get an error page saying "The connection was reset".
In order, I'm running these commands in Windows PowerShell (as an administrator).
1. I navigate to the folder where Joopla! 3.10.11 is installed.
Code: Select all
cd [JOOPLA INSTALL DIR]
Code: Select all
docker network create joopla-network
Code: Select all
docker volume create joopla-vol
Code: Select all
docker run -d `
>> -v joomla-vol:/var/lib/mysql `
>> --network joomla-network --network-alias joomla-mysql `
>> -e MYSQL_ROOT_PASSWORD=secret `
>> -e MYSQL_ROOT_USER=root `
>> -e MYSQL_DATABASE=joomla_db `
>> mysql:5.7
Code: Select all
docker run -d `
>> -p 3000:3000 `
>> -v joomla-vol:/var/www/html `
>> --network joomla-network `
>> --hostname localhost `
>> -e JOOMLA_DB_HOST=joomla-mysql `
>> -e JOOMLA_DB_USER=root `
>> -e JOOMLA_DB_PASSWORD=secret `
>> -e JOOMLA_DB_NAME=joomla_db `
>> joomla:3.10
The Docker logs give me the following output:
Code: Select all
Ensuring Joomla database is present
MySQL Database Created
========================================================================
This server is now configured to run Joomla!
NOTE: You will need your database server address, database name,
and database user credentials to install Joomla.
========================================================================
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Sun Sep 25 17:55:57.970622 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.54 (Debian) PHP/7.4.30 configured -- resuming normal operations
[Sun Sep 25 17:55:57.970712 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
I have of course been following all the usual beginner's tutorials with due diligence and have tried to find people with the same issue to no avail. Any help would be greatly appreciated!