- 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.
- 精通MATLAB圖像處理
- Seven NoSQL Databases in a Week
- 工業機器人現場編程(FANUC)
- iClone 4.31 3D Animation Beginner's Guide
- Splunk Operational Intelligence Cookbook
- Practical Big Data Analytics
- FANUC工業機器人配置與編程技術
- 與人共融機器人的關節力矩測量技術
- 基于人工免疫原理的檢測系統模型及其應用
- Practical AWS Networking
- Learning iOS 8 for Enterprise
- 菜鳥起飛五筆打字高手
- JSP通用范例開發金典
- 新世紀Photoshop CS6中文版應用教程
- 多媒體技術應用教程