You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: for fast-stream-postings_web_1 Cannot start service web: error while creating mount source path '/host_mnt/c/Users/aaron/Downloads/fast-stream-postings/app': mkdir /host_mnt/c: file exists
ERROR: for web Cannot start service web: error while creating mount source path '/host_mnt/c/Users/aaron/Downloads/fast-stream-postings/app': mkdir /host_mnt/c: file exists
ERROR: Encountered errors while bringing up the project.
C:\Users\aaron\Downloads\fast-stream-postings>docker-compose up --build
Removing fast-stream-postings_web_1
Building web
Step 1/15 : FROM python:3.6
---> d49c41b6e6c4
Step 2/15 : RUN useradd -m service-worker
---> Using cache
---> e8e8945b916c
Step 3/15 : WORKDIR /home/submit-fast-stream-post
---> Using cache
---> e8441fc0cae2
Step 4/15 : COPY requirements.txt requirements.txt
---> Using cache
---> 7183093bb0bc
Step 5/15 : RUN python -m venv venv
---> Using cache
---> 3e80bb219b5c
Step 6/15 : RUN pip install -r requirements.txt
---> Using cache
---> 31eccc208641
Step 7/15 : COPY app app
---> 9902f558e38c
Step 8/15 : COPY migrations migrations
---> 8712ae4178dc
Step 9/15 : COPY config.py postings.py deploy.sh ./
---> 80d8158d7927
Step 10/15 : RUN chmod +x deploy.sh
---> Running in d49efb38ae96
Removing intermediate container d49efb38ae96
---> 04290e46c12b
Step 11/15 : ENV FLASK_APP postings.py
---> Running in 0600aacc0863
Removing intermediate container 0600aacc0863
---> b46570edc05a
Step 12/15 : EXPOSE 5000
---> Running in aedddc462ea8
Removing intermediate container aedddc462ea8
---> 527f823abae2
Step 13/15 : RUN chown -R service-worker:service-worker ./
---> Running in daa169014125
Removing intermediate container daa169014125
---> ce05e4b302a4
Step 14/15 : USER service-worker
---> Running in e013ede1bf03
Removing intermediate container e013ede1bf03
---> 1bbdb622295a
Step 15/15 : CMD ["./deploy.sh"]
---> Running in 04129f1e5ecb
Removing intermediate container 04129f1e5ecb
---> dab7961cdd93
Successfully built dab7961cdd93
Successfully tagged fast-stream-postings_web:latest
fast-stream-postings_db_1 is up-to-date
fast-stream-postings_redis_1 is up-to-date
Recreating bf81bbd6c1fd_fast-stream-postings_web_1 ... error
ERROR: for bf81bbd6c1fd_fast-stream-postings_web_1 Cannot start service web: error while creating mount source path '/host_mnt/c/Users/aaron/Downloads/fast-stream-postings/app': mkdir /host_mnt/c: file exists
ERROR: for web Cannot start service web: error while creating mount source path '/host_mnt/c/Users/aaron/Downloads/fast-stream-postings/app': mkdir /host_mnt/c: file exists
ERROR: Encountered errors while bringing up the project.
managed to resolve issue by opening docker settings window:
shared drives> unchecked box for C > apply
shared drives> rechecked box for C > apply
re-run docker-compose up in terminal.
The text was updated successfully, but these errors were encountered:
Issue appears to be Windows-centric and @Aaron3c has clearly detailed the steps to take. Needs a pull request to update the README for people who discover this issue as well.
restarting program after termination was faulty on windows 10 too. Web1 failed to compose.
Terminal messages:
C:\Users\aaron\Downloads\fast-stream-postings>docker-compose up
Starting fast-stream-postings_redis_1 ... done
Starting fast-stream-postings_db_1 ... done
Starting fast-stream-postings_web_1 ... error
ERROR: for fast-stream-postings_web_1 Cannot start service web: error while creating mount source path '/host_mnt/c/Users/aaron/Downloads/fast-stream-postings/app': mkdir /host_mnt/c: file exists
ERROR: for web Cannot start service web: error while creating mount source path '/host_mnt/c/Users/aaron/Downloads/fast-stream-postings/app': mkdir /host_mnt/c: file exists
ERROR: Encountered errors while bringing up the project.
running Git config command didn't help either:
C:\Users\aaron\Downloads\fast-stream-postings>git config --global core.autocrlf false
C:\Users\aaron\Downloads\fast-stream-postings>docker-compose up --build
Removing fast-stream-postings_web_1
Building web
Step 1/15 : FROM python:3.6
---> d49c41b6e6c4
Step 2/15 : RUN useradd -m service-worker
---> Using cache
---> e8e8945b916c
Step 3/15 : WORKDIR /home/submit-fast-stream-post
---> Using cache
---> e8441fc0cae2
Step 4/15 : COPY requirements.txt requirements.txt
---> Using cache
---> 7183093bb0bc
Step 5/15 : RUN python -m venv venv
---> Using cache
---> 3e80bb219b5c
Step 6/15 : RUN pip install -r requirements.txt
---> Using cache
---> 31eccc208641
Step 7/15 : COPY app app
---> 9902f558e38c
Step 8/15 : COPY migrations migrations
---> 8712ae4178dc
Step 9/15 : COPY config.py postings.py deploy.sh ./
---> 80d8158d7927
Step 10/15 : RUN chmod +x deploy.sh
---> Running in d49efb38ae96
Removing intermediate container d49efb38ae96
---> 04290e46c12b
Step 11/15 : ENV FLASK_APP postings.py
---> Running in 0600aacc0863
Removing intermediate container 0600aacc0863
---> b46570edc05a
Step 12/15 : EXPOSE 5000
---> Running in aedddc462ea8
Removing intermediate container aedddc462ea8
---> 527f823abae2
Step 13/15 : RUN chown -R service-worker:service-worker ./
---> Running in daa169014125
Removing intermediate container daa169014125
---> ce05e4b302a4
Step 14/15 : USER service-worker
---> Running in e013ede1bf03
Removing intermediate container e013ede1bf03
---> 1bbdb622295a
Step 15/15 : CMD ["./deploy.sh"]
---> Running in 04129f1e5ecb
Removing intermediate container 04129f1e5ecb
---> dab7961cdd93
Successfully built dab7961cdd93
Successfully tagged fast-stream-postings_web:latest
fast-stream-postings_db_1 is up-to-date
fast-stream-postings_redis_1 is up-to-date
Recreating bf81bbd6c1fd_fast-stream-postings_web_1 ... error
ERROR: for bf81bbd6c1fd_fast-stream-postings_web_1 Cannot start service web: error while creating mount source path '/host_mnt/c/Users/aaron/Downloads/fast-stream-postings/app': mkdir /host_mnt/c: file exists
ERROR: for web Cannot start service web: error while creating mount source path '/host_mnt/c/Users/aaron/Downloads/fast-stream-postings/app': mkdir /host_mnt/c: file exists
ERROR: Encountered errors while bringing up the project.
managed to resolve issue by opening docker settings window:
shared drives> unchecked box for C > apply
shared drives> rechecked box for C > apply
re-run docker-compose up in terminal.
The text was updated successfully, but these errors were encountered: