skip to Main Content

I want to create python image for docker container using ubuntu container

not able because of this

unable to prepare context: unable to evaluate symlinks in Dockerfile path: CreateFile C:Users…..Desktop…..Dockerfile: The system cannot find the file specified.

what am i doing wrong here is my

dockerfile

FROM ubuntu:latest
LABEL maintainer yves 
ADD install.sh /
RUN chmod u+x /install.sh 
RUN /install.sh
ENV PATH C:Users....Desktop......dockerfile
CMD ["ipython"]

after i run this command 

docker build -t py4fi:basic

Can someone help me out here!!!! 



Have try all what i read online but now working on this for two days now!!!

2

Answers


  1. Chosen as BEST ANSWER

    i got it working now!!! thanks

    i have to download miniconda3 install file then copy in the same folder where i have my dockerfile


  2. Try using / instead of .

    Example:

    FROM ubuntu:latest
    LABEL maintainer yves 
    ADD install.sh /
    RUN chmod u+x /install.sh 
    RUN /install.sh
    ENV PATH C:/Users/..../Desktop/....../dockerfile
    # or ENV PATH ./Users/..../Desktop/....../dockerfile
    CMD ["ipython"]
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search