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

Error Docker Build #5

Open
Cristian0sorio opened this issue Jan 7, 2019 · 7 comments
Open

Error Docker Build #5

Cristian0sorio opened this issue Jan 7, 2019 · 7 comments

Comments

@Cristian0sorio
Copy link

hi,

i'm trying to buil on ubuntu server 18.10, but i am facing the following error:

image

As you can see in the next image, the path exist:
image

has anyone faced something similar?

@FilipBruska
Copy link

Hi Christian,
I cannot see anything wrong with path but you can easily use relative path. So let's go to Github project folder and use . instead of whole path.
One more thing, I try to avoid sudo so I make my app user responsible for Docker. More info in "Manage Docker as a non-root user": https://docs.docker.com/install/linux/linux-postinstall/

@Cristian0sorio
Copy link
Author

Cristian0sorio commented Jan 9, 2019

Hi Mr.

thanks for your answer. I've already tried to run the docker command with relative path, but i still have an error related to symbolic links. If can give me more help...

image

Those are my files in Docker Path

image

@FilipBruska
Copy link

Hi Christian,

It seems that Docker is pointing to different Dockerfile stored in /var/lib/snapd/void/Dockerfile. See this discussion: stackoverflow

You can specify Dockerfile using -f parameter. Maybe it will solve your problem:
-f ./Dockerfile

@Cristian0sorio
Copy link
Author

Hi again,

Can you suggest me another linux distribution to install? I have tried to execute with -f parameter but i still have errors.

@FilipBruska
Copy link

I am using Centos, you try that one

@Cristian0sorio
Copy link
Author

thank Mr.

Any particular version?

@FilipBruska
Copy link

FilipBruska commented Jan 16, 2019

I am using this one:
$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants