Skip to content

AMI stopping docker containers before restart #175

Open

Description

@stsievert

We've seen an issue by Ian where he restarted many times and the docker containers got corrupted. Stopping before restart should help with this.

Activity

  1. self-assigned this
    on Apr 3, 2017
  2. dconathan commented on Apr 3, 2017

    @dconathan
    Contributor

    "Restart" meaning restarting the instance? Docker daemon?

  3. stsievert commented on Apr 3, 2017

    @stsievert
    MemberAuthor
  4. erinzm commented on Jun 29, 2017

    @erinzm

    We should probably pull NEXT and template docker-compose.yml in an ExecStartPre, and then do

    ExecStart=docker-compose -f $COMPOSE_FILE up
    ExecStop=docker-compose -f $COMPOSE_FILE down
    

    in next.service.

  5. stsievert commented on Jun 29, 2017

    @stsievert
    MemberAuthor

    Did you create a new AMI for this? I'm seeing an AMI with the name next_master_ami and ID ami-2cd7341f.

  6. erinzm commented on Jun 30, 2017

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions