Skip to content

tamu-edu/clen-csce-choe-331-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

331-docker

Yoonsuck Choe

A quick guide to getting started:

  1. download this repo:
    • Click on the green [Use this template] on the upper right to create a new repo from this source.
    • DO NOT clone this repo directly!
  2. install docker and run the daemon
  3. install docker-compose
  4. in the 315-docker directory, run:
    Linux & MacOS
    sudo docker-compose up -d
    
    Windows
    docker-compose up -d
    
  5. now you can access the web server on http://localhost:5555
  6. Note: the web site root directory is 331-docker/public/ (the top-level directory may be different depending on how you named it when you created a new repo from the template)
    • files in the above directory will be visible at http://localhost:5555
    • edits in your public/ directory in your host filesystem will immediately become visible on the web site.
  7. to stop and remove the instances from the docker runtime, run (in the top directory for 315-docker):
    Linux & MacOS
    sudo docker-compose stop
    
    Windows
    docker-compose stop
    

Credits: https://phpdocker.io/generator was used to seed this. Here, you can created a custom yml file with different php versions and options.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published