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

how to docker a tensorflow serving's file ? #11

Closed
jluite opened this issue Mar 8, 2016 · 6 comments
Closed

how to docker a tensorflow serving's file ? #11

jluite opened this issue Mar 8, 2016 · 6 comments

Comments

@jluite
Copy link

jluite commented Mar 8, 2016

As mentioned in https://tensorflow.github.io/serving/docker, it doesn't work because there isn't one url linkage for tensorflow serving like b.gcr.io/tensorflow/tensorflow for tensorflow . Please tell me Anything I misunderstand or misinformation . Thanks alot .

@wjarek-zz
Copy link

The docker file is here: https://github.com/tensorflow/serving/tree/master/tensorflow_serving/tools/docker - does this answer your question?

@jluite
Copy link
Author

jluite commented Mar 8, 2016

Yes . Thank you very much, wjarek .

When I type " docker build -t $USER/tensorflow-serving-devel -f Dockerfile.devel . " on the ubuntu 15.10 with docker 1.10.2 , the result of this command indicates " Sending build context to Docker daemon 484.6 MB , Step 1 : <!DOCTYPE Unknown instruction: <!DOCTYPE " .
How to handle this case ? Thank you in advance .

@jluite jluite changed the title where to docker a tensorflow serving's file ? how to docker a tensorflow serving's file ? Mar 8, 2016
@jharmsen
Copy link
Contributor

jharmsen commented Mar 8, 2016

It looks like your Dockerfile.devel has some extraneous text in the beginning.

Please make sure you have the raw file:
https://raw.githubusercontent.com/tensorflow/serving/master/tensorflow_serving/tools/docker/Dockerfile.devel

It should start with:
FROM ubuntu:14.04

@jluite
Copy link
Author

jluite commented Mar 9, 2016

Yes and thank you very much, @jharmsen .

@jluite jluite closed this as completed Mar 9, 2016
@jharmsen
Copy link
Contributor

jharmsen commented May 4, 2016

Hi D.P.,

Looks like the same issue jluite had.

Please make sure you have downloaded the raw file:
https://raw.githubusercontent.com/tensorflow/serving/master/tensorflow_serving/tools/docker/Dockerfile.devel

It should start with:
FROM ubuntu:14.04

On Wed, May 4, 2016 at 5:21 AM D.P notifications@github.com wrote:

Hi,

With the downloaded .devel file, I still meet the error

dp@monster:/amy$ docker build --pull -t dp/tensorflow-serving-devel -f Dockerfile.devel .
Sending build context to Docker daemon 1.414 GB
Step 1 : <!DOCTYPE
Unknown instruction: <!DOCTYPE


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#11 (comment)

@vodp
Copy link

vodp commented May 4, 2016

Yeah. It turns out that I downloaded the html page of the file. After building successfully, I guess I have to install cuda toolkit and cudnn manually? The docker seems do not contain those.

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

4 participants