Docker: docker-container

Launch the commands from the container folder

  • Install the machine docker-compose build
  • Start the services docker-compose up -d
  • Stop the services docker-compose stop
  • Stop and remove containers, networks, images, and volumes docker-compose down
  • See active containers docker ps
CONTAINER ID        IMAGE                   COMMAND                  CREATED             STATUS              PORTS                    NAMES
27378c53e98a        eedtest_app             "docker-php-entrypoi…"   5 minutes ago       Up 5 minutes>80/tcp     eedtest_app_1
68dfd5c7abde        mysql                   "docker-entrypoint.s…"   5 minutes ago       Up 5 minutes>3306/tcp   eedtest_db_1
b18824235e76        phpmyadmin/phpmyadmin   "/ phpmyadmin"     5 minutes ago       Up 5 minutes>80/tcp     eedtest_phpmyadmin_1

doing this you can understand the port to see the webserver.

Clone this repo if you need a LAMP webserver


Programmer by day and mostly by night as well.