Suvineet Singh
Suvineet Singh

Reputation: 19

Installing tensorflow inside a docker container

I am trying to install tensorflow inside my docker container. However, having tensorflow in my requirements.txt or even doing a RUN pip install tensorflow gives me the error:

ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow

I can't find how to access tensforflow inside my docker container. I tried to use the tensorflow docker container inside my container by adding the following to my Dockerfile

RUN docker pull tensorflow/tensorflow
RUN docker run -it tensorflow/tensorflow

but had no luck :(

Upvotes: 1

Views: 479

Answers (1)

Piyush Singh
Piyush Singh

Reputation: 2962

That's a terminal command. Run this in your terminal: docker run -it tensorflow/tensorflow

Upvotes: 1

Related Questions