- Deployment with Docker
- Srdjan Grubor
- 158字
- 2021-07-02 23:22:12
Extending another container with FROM
Similar to our last container, our FROM nginx:latest line ensures that we are using the latest version of a base image, but instead of Ubuntu, here, we will use NGINX as our base. The latest ensures that we get the image with the latest features and often patches too at a slight risk of breakages and API incompatibility in the future.
When writing your Docker containers, you will often have to make these trade-off decisions based on your situation and stability requirements, but the NGINX API has been very stable for years now, so in this specific case, we do not need the stability that the named tags provide. If we wanted one of those tagged versions here, latest would just change to the version we wanted that is offered on Docker Hub, which we can find at https://hub.docker.com/_/nginx/ , so something like FROM nginx:1.13 would have been perfectly fine too.
- 電氣自動化專業英語(第3版)
- 人工智能超越人類
- 腦動力:PHP函數速查效率手冊
- 人工智能工程化:應用落地與中臺構建
- 大數據挑戰與NoSQL數據庫技術
- Apache Spark Deep Learning Cookbook
- 數據挖掘方法及天體光譜挖掘技術
- Pig Design Patterns
- INSTANT Autodesk Revit 2013 Customization with .NET How-to
- 內模控制及其應用
- Python:Data Analytics and Visualization
- 網絡安全技術及應用
- 強化學習
- Effective Business Intelligence with QuickSight
- QTP自動化測試實踐