Skip to content

teachmind/docker-php-mysql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run the following command:

$ docker-compose up -d     //Runs containers from the docker-file

Some basic docker commands:

$ docker container ls     //Lists all the container
$ docker container -a     //Lists all the container
$ docker images   //Lists all the images

$ docker run
$ docker start
$ docker stop

To run ubuntu machine:

$ docker run -it --name macine_name ubuntu

To INSPECT container:

$ docker inspect CONTAINER_ID

To enter in a container:

$ docker-compose exec workspace bash

About

Using docker and docker compose create an environment for PHP and MySQL. Run php code and connect to mysql container.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%