Skip to content

Instantly share code, notes, and snippets.

@mtwilliams
Created June 15, 2015 05:21
Show Gist options
  • Save mtwilliams/6434709f7f0d9ae4c9cf to your computer and use it in GitHub Desktop.
Save mtwilliams/6434709f7f0d9ae4c9cf to your computer and use it in GitHub Desktop.
Second restart results in immediate, catastrophic, wheels-fall-off failure... unfortunately.
$ docker -v
Docker version 1.6.2, build 7c8fca2
$ docker-compose --version
docker-compose 1.2.0
$ docker-compose up
Creating meetwalter_web_1...
Creating meetwalter_api_1...
Creating meetwalter_identity_1...
Attaching to meetwalter_web_1, meetwalter_api_1, meetwalter_identity_1
web_1 | forego | starting nginx.1 on port 5000
web_1 | forego | starting dockergen.1 on port 5100
web_1 | dockergen.1 | 2015/06/15 05:17:51 Generated '/etc/nginx/conf.d/default.conf' from 1 containers
web_1 | dockergen.1 | 2015/06/15 05:17:51 Running 'nginx -s reload'
web_1 | dockergen.1 | 2015/06/15 05:17:51 Watching docker events
web_1 | dockergen.1 | 2015/06/15 05:17:51 Received event start for container 5aebdc5a9b71
web_1 | dockergen.1 | 2015/06/15 05:17:51 Generated '/etc/nginx/conf.d/default.conf' from 2 containers
web_1 | dockergen.1 | 2015/06/15 05:17:51 Running 'nginx -s reload'
web_1 | dockergen.1 | 2015/06/15 05:17:52 Received event start for container ae8f678d0090
web_1 | dockergen.1 | 2015/06/15 05:17:52 Generated '/etc/nginx/conf.d/default.conf' from 3 containers
web_1 | dockergen.1 | 2015/06/15 05:17:52 Running 'nginx -s reload'
identity_1 | Puma 2.11.3 starting...
identity_1 | * Min threads: 0, max threads: 16
identity_1 | * Environment: development
identity_1 | * Listening on tcp://0.0.0.0:80
api_1 | Puma 2.11.3 starting...
api_1 | * Min threads: 0, max threads: 16
api_1 | * Environment: development
api_1 | * Listening on tcp://0.0.0.0:80
$ docker-compose restart api
Restarting meetwalter_api_1...
web_1 | dockergen.1 | 2015/06/15 05:17:55 Received event die for container 5aebdc5a9b71
web_1 | dockergen.1 | 2015/06/15 05:17:56 Generated '/etc/nginx/conf.d/default.conf' from 3 containers
web_1 | dockergen.1 | 2015/06/15 05:17:56 Running 'nginx -s reload'
web_1 | dockergen.1 | 2015/06/15 05:17:56 Received event start for container 5aebdc5a9b71
web_1 | dockergen.1 | 2015/06/15 05:17:56 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
$ docker-compose restart api
Restarting meetwalter_api_1...
meetwalter_api_1 exited with code 1
Gracefully stopping... (press Ctrl+C again to force)
Stopping meetwalter_identity_1...
Stopping meetwalter_api_1...
Stopping meetwalter_web_1...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment