Docker build just freezing?

docker build -t {name}/ruby-test .
Sending build context to Docker daemon 13.23 MB
Step 0 : FROM ruby:2.2.2

When I run the docker build command above, it comes to you and will never continue. You do not know why and what to do about it. Thoughts?

+4
source share
1 answer

This seems like an old and unresolved Docker error. The workaround that works most of the time is to make a bad step with the random process of creating / deleting files.

RUN touch `echo random.$RANDOM`.txt
<YOUR FAILING STEP>
RUN rm random.*.txt; 
-1
source

Source: https://habr.com/ru/post/1620424/


All Articles