Docker design freezes at boot time

Mac 10.10.5 is here, using docker-machineVirtualBox for my local Docker to create a virtual virtual machine. I have a project that creates an executable JVM located at build/libs/myapp-SNAPSHOT.jar. My Dockerfile, which is at the root of the project, looks like this:

FROM frolvlad/alpine-oraclejdk8:slim
VOLUME /tmp
ADD build/libs/myapp-SNAPSHOT.jar myapp.jar
RUN sh -c 'touch /myapp.jar'
ENTRYPOINT ["java","-jar","/myapp.jar"]

Please note that I do not want to push images to the registry, just keep them / locally (for now). When I run:

docker build -t myorg/myapp .

I get the following console output:

myuser@mymachine:~/sandbox/myapp$docker build -t myorg/myapp .
Sending build context to Docker daemon 42.69 MB
Step 1 : FROM frolvlad/alpine-oraclejdk8:slim
slim: Pulling from frolvlad/alpine-oraclejdk8

d0ca440e8637: Downloading [=================================================> ] 2.295 MB/2.32 MB
0f86278f6be1: Downloading [=================================================> ] 3.149 MB/3.172 MB
c704a6161dca: Download complete 

And after that the command line command just freezes after printing that the message “Download complete”. I waited until 30 minutes (!!!), and nothing happens.

Any ideas that I will be mistaken in?

+4
source share
1

, , . : https://github.com/docker/machine/issues/1819#issuecomment-138981139

docker-machine rm -f default
rm -fv ~/.docker/machine
docker-machine -D create -d virtualbox default

OSX .

, , Linux, . , - VM ( -)

Docker Beta program, libcontainer OSX Windows.

+2

All Articles