Month: February 2019

  • PHP Apps in a Subdirectory in Nginx

    PHP Apps in a Subdirectory in Nginx

    What We’re Using The server is Ubuntu 16.04, , we install Nginx 1.13 and PHP 7.2. The example PHP applications are Laravel 5.5. PLUS Docker ENV: https://github.com/yao3060/docker TL;DR Here’s the working configuration to have two Laravel apps working, where one application exists in a subdirectory of another. How This Works Let’s cover some details of…

  • 怎么删除 Docker Images, Containers, and Volumes

    怎么删除 Docker Images, Containers, and Volumes

    Purging All Unused or Dangling Images, Containers, Volumes, and Networks Docker provides a single command that will clean up any resources — images, containers, volumes, and networks — that are dangling (not associated with a container): docker system prune To additionally remove any stopped containers and all unused images (not just dangling images), add the -a flag…