Instead of curl piping to shell, use official Docker package repositories to install Docker. File reference: coder-template/main.tf:114