Assume I have
version: '3.4' services: hello: image: hello-world env_file: - .envs/.dev/.some_file.env
Assume I don’t have
.envs/.dev/.some_file.env file yet.
When I do
docker-compose pull, it shows me an error:
ERROR: Couldn't find env file: /home/user/app/.envs/.dev/.some_file.env
When I comment or remove last two lines in compose file,
docker-compose pull command successfully pulls the image.
It’s a little bit strange that I should have environment files persisted on disk when I pull images. All I want is to download images listed in the compose file.
The same behaviour for
docker-compose images command.
Docker Compose version: 1.23.1, build b02f1306
What do you think?