Completed

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 `

php:7.0-apache

Skills: Apache, Linux, Nginx, PHP, System Admin

See more: 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

About the Employer:
( 4 reviews ) Louisville, United States

Project ID: #16454694

Awarded to:

mgeorgiev13

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 / hour
(5 Reviews)
3.2

10 freelancers are bidding on average $23/hour for this job

dkokmadis

A proposal has not yet been provided

$50 USD / hour
(390 Reviews)
6.9
prashushinde9

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 & More

$22 USD / hour
(53 Reviews)
7.1
mmadi

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 More

$17 USD / hour
(39 Reviews)
6.9
RubyOnRail

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 More

$22 USD / hour
(10 Reviews)
5.7
Amitkumar1806

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 More

$15 USD / hour
(28 Reviews)
5.3
geniousPHP

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 / hour
(10 Reviews)
4.5
$22 USD / hour
(6 Reviews)
4.2
$18 USD / hour
(15 Reviews)
3.5
kmohandas

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 / hour
(1 Review)
0.0