fix a localhost problem using docker and php

We have a test website running on a local computer. It is controlled by Docker file. Recently it stopped working and said 404 Not found.

Here is the docker file we used before. Somehow the localhost was directed to the wrong place.

Need someone who knows Docker and Php and localhost environment to take a look.

# Stop existing container

docker stop spectrum-web-app

# Removing existing container

docker rm spectrum-web-app

# Get the IP address of this computer

$ipv4 = Test-Connection -ComputerName (hostname) -Count 1 | Select -ExpandProperty IPV4Address

# If the above command doesn't produce the correct IP address,

# uncomment this line and set it manually.

#$ipv4 = '[url removed, login to view]'

# Run docker and mount local folder as volume

docker run `

--name spectrum-web-app `

-d -p 37000:80 `

-v ${PWD}/www:/var/www/html `

-e DOCKER_HOST=$ipv4 `


Kemahiran: Apache, Linux, Nginx, PHP, Sistem Admin

Lihat lagi: fix xml problem php, run php rackspace command line, php fix apostrophe problem, php, linux, apache, nginx, fix mail problem php, fix picture size using php, php curl command line example, simple php fix apostrophe problem, using curl command line php, linux php curl command line, php curl command line, php project test, fix apache problem linux, problem contact form php template monster, receive xml stream php app test, php speed test, fix pagination problem

Tentang Majikan:
( 4 ulasan ) Louisville, United States

ID Projek: #16454694

Dianugerahkan kepada:


Dear Employer, I can help you and fix you web server issue. If you have any questions, don't hesitate to contact me.

$15 USD / jam
(5 Ulasan)

10 pekerja bebas membida secara purata $23/jam untuk pekerjaan ini


A proposal has not yet been provided

$50 USD / jam
(390 Ulasan)

Greetings, We analyzed your project (fix a localhost problem using docker and php ). I can assist you to design & develop your business website using WordPress CMS or custom CMS (PHP/MySQL) having - - Responsive & Lagi

$22 USD / jam
(53 Ulasan)

Hi yongshenglian, I have gone through your project "fix a localhost problem using docker and php" and could assure you the best of the solution. I am taking it as an opportunity and ready to deliver my best. pl Lagi

$17 USD / jam
(39 Ulasan)

Dear esteemed client We have gone through your project description (fix a localhost problem using docker and php ) I would first like to discuss on your project and then I will suggest you technologies as per requir Lagi

$22 USD / jam
(10 Ulasan)

Dear client, Thank you for allowing me to post bid on your project. Description of project----fix a localhost problem using docker and php Iam ready to start now....i can provide you Great Quality and 100% Complete Lagi

$15 USD / jam
(28 Ulasan)

Let me take a look please, it could be that the folder not mounted in the correct place or misconfiguration of apache. Maybe other cause.

$24 USD / jam
(10 Ulasan)
$22 USD / jam
(6 Ulasan)
$18 USD / jam
(15 Ulasan)

Dear Sir We are interested to do the job. Please send us a message to discuss further. We will give you a detailed proposal after your confirmation. Thanks and Regards

$22 USD / jam
(1 Ulasan)