ModularM
Modular3y ago
6 replies
Logan

Docker Container Issues

I've been trying to build a docker container for a while and I'm not sure what I'm doing wrong. No matter what I do I get something like this on the install mojo command. Any ideas?



=> ERROR [ 5/10] RUN modular install mojo                                                                                                                 0.2s
------                                                                                                                                                          
> [ 5/10] RUN modular install mojo:                                                                                                                            
0.186 modular: error: Could not open cache index 0 size: No such file or directory                                                                              
------                                                                                                                                                          
Dockerfile:26                                                                                                                                                   
--------------------
  24 |     
  25 |     RUN curl https://get.modular.com | MODULAR_AUTH=AUTHKEYHERE sh -
  26 | >>> RUN modular install mojo
  27 |     
  28 |     ARG MODULAR_HOME="/root/.modular"
--------------------
ERROR: failed to solve: process "/bin/sh -c modular install mojo" did not complete successfully: exit code: 1
Was this page helpful?