I get a "Pulling postgres (postgres:10.1-alpine)... panic: runtime error: index out of range" when I try to "astro airflow start"


#1

If using a Linux machine, you may see a message like the following with you issue astro airflow start:

Sending build context to Docker daemon  8.192kB
Step 1/1 : FROM astronomerinc/ap-airflow:latest-onbuild
# Executing 5 build triggers
 ---> Using cache
 ---> Using cache
 ---> Using cache
 ---> Using cache
 ---> Using cache
 ---> f28abf18b331
Successfully built f28abf18b331
Successfully tagged hello-astro/airflow:latest
INFO[0000] [0/3] [postgres]: Starting
Pulling postgres (postgres:10.1-alpine)...
panic: runtime error: index out of range
goroutine 52 [running]:
github.com/astronomer/astro-cli/vendor/github.com/Nvveen/Gotty.readTermInfo(0xc4202e0760, 0x1e, 0x0, 0x0, 0x0)

The fix for this is:

Docker pull postgres:10.1-alpine

After you do that, you should be able to astro airflow start again without issue.