- 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
- Cisco OSPF命令與配置手冊
- 物聯網智慧安監技術
- SEO 20日
- 數字烏托邦
- 電子政務效益的經濟分析與評價
- 萬物互聯:蜂窩物聯網組網技術詳解
- HTML5 Game development with ImpactJS
- SSL VPN : Understanding, evaluating and planning secure, web/based remote access
- 數字調制解調技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- Unity Artificial Intelligence Programming
- 網絡安全應急響應技術實戰指南
- 數據血緣分析原理與實踐
- Selenium WebDriver 3 Practical Guide
- 計算機通信網絡安全
- 新媒體交互藝術