Skip to content

Instantly share code, notes, and snippets.

@fizerkhan
Last active February 20, 2018 12:40
Show Gist options
  • Save fizerkhan/e4fbcade962a7634a2bde53458c8b9a1 to your computer and use it in GitHub Desktop.
Save fizerkhan/e4fbcade962a7634a2bde53458c8b9a1 to your computer and use it in GitHub Desktop.
Docker Compose build is not working
version: '2'
services:
web:
build: .
ports:
- 3000:3000
volumes:
- ./code-dev/:/usr/src/app
FROM node:0.10
CMD [ "npm", "start", "#custom" ]
@fizerkhan
Copy link
Author

fizerkhan commented Feb 20, 2018

docker-compose --verbose build

compose.config.config.find: Using configuration files: ./docker-compose.yml
docker.auth.auth.load_config: File doesn't exist
compose.cli.command.get_client: docker-compose version 1.8.0, build f3628c7
docker-py version: 1.9.0
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
compose.cli.command.get_client: Docker base_url: http+docker://localunixsocket
compose.cli.command.get_client: Docker version: KernelVersion=4.2.0-42-generic, Os=linux, BuildTime=2016-08-18T05:22:43.932726241+00:00, ApiVersion=1.24, Version=1.12.1, GitCommit=23cf638, Arch=amd64, GoVersion=go1.6.3
compose.service.build: Building web
compose.cli.verbose_proxy.proxy_callable: docker build <- (pull=False, stream=True, nocache=False, tag=u'vagrant_web', buildargs=None, rm=True, forcerm=False, path='/home/vagrant', dockerfile=None)

It stays there for long time. Nothing happens in the console after the print.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment