TACC-Cloud / tapis-cli

Next-generation Tapis CLI
BSD 3-Clause "New" or "Revised" License
14 stars 5 forks source link

Tapis apps deploy error without Docker #362

Closed JoshuaUrrutia closed 3 years ago

JoshuaUrrutia commented 3 years ago

Is your feature request related to a problem? Please describe. Small issue with the error message on a tapis apps deploy. When I don't have the docker daemon running, I get:

urrutia$ tapis apps deploy
Building $REPO/$IMAGE:$TAG
('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

Which was confusing the first time it happened because I didn't realize docker wasn't running.

Describe the solution you'd like Print an error like "docker not found" or propagate one of the docker errors, ex:

Error response from daemon: dial unix docker.raw.sock: connect: connection refused

Describe alternatives you've considered It's pretty easy to figure out with some basic troubleshooting, so I don't think this is high-priority. I just wanted to track it for future releases.

Additional context