-
Notifications
You must be signed in to change notification settings - Fork 5.8k
pull requires valid build path #3513
Copy link
Copy link
Closed
Labels
Description
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.
Reactions are currently unavailable