Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

268
Views
Dockerización PHP-APACHE MYSQL en centos7

Intenté crear un contenedor docker en centos7 pero pude acceder a la página phpmyadmin pero no a la página index.php

¿Podría ver el archivo docker yml y el archivo docker y decir qué sucedió como si estuviera ejecutando kali linux en un docker centos7? Ha sido difícil. Lo he estado intentando desde ayer.

el código de entrega es docker-compose.yml

 version: "3" services: www: build: . ports: - "8001:80" volumes: - ./www:/var/www/html/ links: - db networks: - default db: image: mysql:8.0.16 command: ['--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci','--default-authentication-plugin=mysql_native_password'] ports: - "8002:3306" environment: MYSQL_DATABASE: myDb MYSQL_USER: user MYSQL_PASSWORD: test MYSQL_ROOT_PASSWORD: test volumes: - ./dump:/docker-entrypoint-initdb.d - persistent:/var/lib/mysql networks: - default phpmyadmin: image: phpmyadmin/phpmyadmin:4.9 links: - db:db ports: - 8000:80 environment: MYSQL_USER: user MYSQL_PASSWORD: test MYSQL_ROOT_PASSWORD: test volumes: persistent:

y el archivo acoplable

 FROM php:7.1.19-apache RUN docker-php-ext-install mysqli mbstring

No sé cuál es el problema cuando accedo a localhost: 8000 en el navegador. Obtengo el error 403 de acceso prohibido.

solo necesito acceder a index.php cuando ingreso localhost:8000 en el navegador

por favor ayudenme gracias de antemano

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!