I have two files,
html file is a bit of boilerplate, and the
toml is as follows:
app = "my-app-name" kill_signal = "SIGINT" kill_timeout = 5 processes =  [env] [experimental] allowed_public_ports =  auto_rollback = true [build] builtin = "static" [[services]] http_checks =  internal_port = 8080 processes = ["app"] protocol = "tcp" script_checks =  [services.concurrency] hard_limit = 25 soft_limit = 20 type = "connections" [[services.ports]] handlers = ["http"] port = 80 [[services.ports]] handlers = ["tls", "http"] port = 443 [[services.tcp_checks]] grace_period = "1s" interval = "15s" restart_limit = 6 timeout = "2s"
… which is basically what is generated by
fly launch, save for the inclusion of the
When I attempt to run
fly deploy, I get the following feedback, in toto:
Deploying my-app-name ==> Validating app configuration --> Validating app configuration done Services TCP 80/443 ⇢ 8080 Error error connecting to docker: An unknown error occured.
… and I’m not quite sure how to troubleshoot, given just how little has been done. The problem has occurred in multiple regions.
For what it’s worth, my immediate end-goal is deploying an Elixir application without phoenix; I was just running into this docker issue, and tried for the minimum reproducible example.