buildkite / lifecycled

A daemon for responding to AWS AutoScaling Lifecycle Hooks
MIT License
146 stars 34 forks source link

Can't run lifecycled in a docker container #76

Closed limed closed 5 years ago

limed commented 5 years ago

Hello, I seem to be unable to run lifecycled in a docker container. I've tried building a container image using the alpine and ubuntu image based on your instructions, however I keep getting this error:

# /usr/bin/lifecycled
lifecycled: error: strconv.ParseBool: parsing "v3.0.2": invalid syntax, try --help

Running with --help actually returns the help message but I can't seem to do anything else. Any direction on this would be helpful, thanks

limed commented 5 years ago

Issue has been resolved here, this was caused by an environment variable that I had set in the Dockerfile. The environment variable (LIFECYCLED_VERSION) in my Dockerfile caused it to conflict with kingpin and thus throwing that error.