docker-compose version
docker-compose version 1.7.0, build 0d7bf73
docker-py version: 1.8.0
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
I have a docker-compose file
version: '2'
services:
xyzservice:
image: xxx-image
container_name: xxx_container
build:
context: ./somecontext
dockerfile: Dockerfile.xxx
networks:
- some-network
When I want to build the image using docker-compose build, I understand that the _Dockerfile.xxx_ is absolutely required.
But if I just want to pull the image using docker-compose pull why is the Dockerfile.xxx required?
I get the following error on pull command
ERROR: build path ./somecontext either does not exist, is not accessible, or is not a valid URL.
I have a docker-compose file
When I want to build the image using
docker-compose build, I understand that the _Dockerfile.xxx_ is absolutely required.But if I just want to pull the image using
docker-compose pullwhy is the Dockerfile.xxx required?I get the following error on pull command