Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build fails #1

Open
albhasan opened this issue Sep 26, 2019 · 6 comments
Open

Docker build fails #1

albhasan opened this issue Sep 26, 2019 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@albhasan
Copy link

Good afternoon,

I'm getting this message while building an image in a Ubuntu 18.04.3 LTS:

Step 13/25 : COPY mcr-install /mcr-install
COPY failed: stat /var/lib/docker/tmp/docker-builder865201909/mcr-install: no such file or directory

Best regards.

@icaoberg
Copy link
Collaborator

@albhasan thanks for the feedback.

@icaoberg icaoberg self-assigned this Sep 27, 2019
@icaoberg icaoberg added the bug Something isn't working label Sep 27, 2019
@icaoberg
Copy link
Collaborator

@albhasan how are you trying to build the image?

@icaoberg
Copy link
Collaborator

@albhasan the test in Travis is passing. You can either run

bash ./build.sh

or download the image from Dockerhub.

@albhasan
Copy link
Author

Good afternoon,

I got an Ubuntu server 14.04.5 LTS with docker:

Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.2.1
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.2.1
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

I ran

sudo ./build.sh

(my user isn't in the docker group). But it is unable to finish, it just reports this:

...
inflating: mcr-install/bin/glnxa64/libgcc_s.so.1
inflating: mcr-install/bin/glnxa64/libmwwebproxy.so
inflating: mcr-install/bin/glnxa64/libcrypto.so.1.0.0
finishing deferred symbolic links:
mcr-install/sys/java/jre/glnxa64/jre/man/ja -> ja_JP.UTF-8
mcr-install/sys/os/glnxa64/libstdc++.so.6 -> libstdc++.so.6.0.22
mcr-install/bin/glnxa64/libcrypto.so.1 -> libcrypto.so.1.0.0
mcr-install/bin/glnxa64/libssl.so.1 -> libssl.so.1.0.0
Sending build context to Docker daemon 3.933 GB
Sending build context to Docker daemon
Step 0 : FROM ubuntu:16.04 as intermediate
Pulling repository ubuntu
INFO[0057] Could not reach any registry endpoint

However, when I list the docker images in the server, there is not image with the name icaoberg/matlabmcr2018b

Thank you!

@icaoberg
Copy link
Collaborator

icaoberg commented Oct 1, 2019

This is super weird. The error is showing that it cannot pull the Ubuntu docker image.

Could you try updating Docker? Or attempt to build in another system?

@icaoberg
Copy link
Collaborator

icaoberg commented Oct 2, 2019

@TeddyZ95 please try to replicate @albhasan error. Can you run the build script? Currently Travis is successfully building the image and you can pull it from Dockerhub. So I don't know what the error is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants