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(7264)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3334)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2304)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2091)
Docker on Windows by Stoneman Elton(2058)
The Infinite Retina by Robert Scoble Irena Cronin(2003)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(1792)
Computers For Seniors For Dummies by Nancy C. Muir(1764)
The Old New Thing by Raymond Chen(1710)
Hands-On Linux for Architects by Denis Salamanca(1706)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(1683)
MCSA Windows Server 2016 Study Guide: Exam 70-741 by William Panek(1472)
Embedded Systems Architecture by Daniele Lacamera(1369)
Installing and Configuring Windows 10: 70-698 Exam Guide by Bekim Dauti(1369)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(1353)
Database Reliability Engineering: Designing and Operating Resilient Database Systems by Campbell Laine & Majors Charity(1343)
Raspberry Pi Beginners Guide: Ultimate Guide For Rasberry Pi, User guide To Get The Most Out Of Your Investment, Hacking, Programming, Python, Best Hardware, Beginners Guide To Rasberry Pi by Steven Giles(1329)
Learn Computer Forensics by William Oettinger(1318)
Linux Phrasebook (Developer's Library) by Granneman Scott(1311)