- 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.
- Dreamweaver CS3 Ajax網(wǎng)頁(yè)設(shè)計(jì)入門(mén)與實(shí)例詳解
- Dreamweaver CS3+Flash CS3+Fireworks CS3創(chuàng)意網(wǎng)站構(gòu)建實(shí)例詳解
- Visualforce Development Cookbook(Second Edition)
- Natural Language Processing Fundamentals
- PIC單片機(jī)C語(yǔ)言非常入門(mén)與視頻演練
- Visual C# 2008開(kāi)發(fā)技術(shù)詳解
- 工業(yè)機(jī)器人入門(mén)實(shí)用教程(KUKA機(jī)器人)
- JSP從入門(mén)到精通
- 網(wǎng)絡(luò)化分布式系統(tǒng)預(yù)測(cè)控制
- Hadoop應(yīng)用開(kāi)發(fā)基礎(chǔ)
- 格蠹匯編
- Cloud Security Automation
- 計(jì)算智能算法及其生產(chǎn)調(diào)度應(yīng)用
- SQL Server 2019 Administrator's Guide
- 超好玩的Python少兒編程