- Hands-On Full Stack Web Development with Angular 6 and Laravel 5
- Fernando Monteiro
- 342字
- 2021-07-23 19:18:44
Installing Docker
We will use Docker in this chapter. Even though the official documentation of Laravel suggests the use of Homestead with virtual machines and Vagrant, we chose to use Docker because it's fast and easy to start, and our main focus is on Laravel's core concepts.
As the Docker documentation states:
Let's install Docker, as follows:
- Go to https://docs.docker.com/install/.
- Choose your platform and follow the installation steps.
- If you have any trouble, check the getting started link at https://docs.docker.com/get-started/.
As we are using Docker containers and images to start our application and won't get into how Docker works behind the scenes, here is a short list of some Docker commands:
Command: Description:
docker ps Show running containers
docker ps -a Show all containers
docker start Start a container
docker stop Stop a container
docker-compose up -d Start containers in background
docker-compose stop Stop all containers on docker-compose.yml file
docker-compose start Start all containers on docker-compose.yml file
docker-compose kill Kill all containers on docker-compose.yml file
docker-compose logs Log all containers on docker-compose.yml file
- 數據通信網絡實踐:基礎知識與交換機技術
- CorelDRAW X6 中文版圖形設計實戰從入門到精通
- 物聯網短距離無線通信技術應用與開發
- 從區塊鏈到Web3:構建未來互聯網生態
- 5G承載網網絡規劃與組網設計
- Spring Boot 2.0 Projects
- 物聯網+BIM:構建數字孿生的未來
- Windows Server 2003 Active Directory Design and Implementation: Creating, Migrating, and Merging Networks
- 企業網絡安全管理
- Mastering TypeScript 3
- 5G技術與標準
- Getting Started with tmux
- 信息技術安全評估準則:源流、方法與實踐
- 現場綜合化網絡運營與維護:運營商數字化轉型技術與實踐
- NB-IoT原理和優化