简体   繁体   中英

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 :(

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM