Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMI stopping docker containers before restart #175

Open
stsievert opened this issue Apr 3, 2017 · 5 comments
Open

AMI stopping docker containers before restart #175

stsievert opened this issue Apr 3, 2017 · 5 comments
Assignees

Comments

@stsievert
Copy link
Member

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.

@stsievert stsievert self-assigned this Apr 3, 2017
@dconathan
Copy link
Contributor

"Restart" meaning restarting the instance? Docker daemon?

@stsievert
Copy link
Member Author

stsievert commented Apr 3, 2017 via email

@erinzm
Copy link

erinzm commented Jun 29, 2017

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.

@stsievert
Copy link
Member Author

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

@erinzm
Copy link

erinzm commented Jun 30, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants