Docker on Windows by Stoneman Elton
Author:Stoneman, Elton [Stoneman, Elton]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2017-07-13T04:00:00+00:00
Managing application images
Docker Compose can manage Docker images as well as containers. In the Compose file, you can include attributes that tell Docker Compose how to build your images. You can specify the location of the build context to send to the Docker service, which is the root folder for all your application content—and the location of the Dockerfile.
The context path is relative to the location of the Compose file, and the Dockerfile path is relative to the context. This is very useful for complex source trees such as the demo source for this book, where the context for each image is in a different folder. In the ch06-docker-compose-build folder, I have a Compose file with all the build attributes specified.
This is how the build details are specified for my images:
nerd-dinner-db:
image: dockeronwindows/ch06-nerd-dinner-db
build:
context: ../ch06-nerd-dinner-db
dockerfile: ./Dockerfile
...
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7734)
Filmora Efficient Editing by Alexander Zacharias(5433)
The Infinite Retina by Robert Scoble Irena Cronin(4877)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3899)
Learn Wireshark - Fundamentals of Wireshark. by Lisa Bock(3770)
Edit Like a Pro with iMovie by Regit(3230)
Linux Administration Best Practices by Scott Alan Miller(2837)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic & Jasmin Redzepagic(2814)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2502)
Docker on Windows by Stoneman Elton(2301)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2290)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(2208)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(2089)
Creative Projects for Rust Programmers by Carlo Milanesi(2033)
Hands-On Linux for Architects by Denis Salamanca(2023)
Computers For Seniors For Dummies by Nancy C. Muir(1978)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(1969)
The Old New Thing by Raymond Chen(1922)
Linux Kernel Debugging by Kaiwan N Billimoria(1748)
