docker error in: Recreating 5267a9166bcc_escriptorium_celery-low-priority_1
I was recently reinstalling the docker. I was also rebuilding the docker app.
Here is the full stack trace:
(base) kaan@mb-Precision-7510:/media/kaan/Data7510/GitProjects/escriptorium$ sudo docker-compose up -d --build
[sudo] Mot de passe de kaan :
WARNING: The PWD variable is not set. Defaulting to a blank string.
Removing escriptorium_channelserver_1
Removing escriptorium_web_1
Removing escriptorium_celery-main_1
Removing escriptorium_celery-low-priority_1
Building channelserver
Step 1/14 : FROM python:3.6-stretch
---> 2bb3204ab1d1
Step 2/14 : ENV PYTHONDONTWRITEBYTECODE 1
---> Using cache
---> d76830a076e9
Step 3/14 : ENV PYTHONUNBUFFERED 1
---> Using cache
---> ebd6ce490a62
Step 4/14 : WORKDIR /usr/src/app
---> Using cache
---> 4f73e3d2b5c1
Step 5/14 : RUN apt-get update
---> Using cache
---> 42ec5f576591
Step 6/14 : RUN addgroup --system uwsgi
---> Using cache
---> d3c44f639be5
Step 7/14 : RUN adduser --system --no-create-home --ingroup uwsgi uwsgi
---> Using cache
---> b2bfa7d94795
Step 8/14 : RUN apt-get install netcat-traditional pngcrush
---> Using cache
---> ac0a7185536d
Step 9/14 : RUN pip install --upgrade pip
---> Using cache
---> f414c6e12760
Step 10/14 : COPY ./requirements.txt /usr/src/app/requirements.txt
---> Using cache
---> 80c632919bac
Step 11/14 : RUN pip install -U -r requirements.txt
---> Using cache
---> 962403eb171a
Step 12/14 : COPY ./entrypoint.sh /usr/src/app/entrypoint.sh
---> Using cache
---> 4ecf46b4b7de
Step 13/14 : COPY . /usr/src/app/
---> Using cache
---> 2bb85b7e5273
Step 14/14 : ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
---> Using cache
---> 5bbd5ead81df
Successfully built 5bbd5ead81df
Successfully tagged escriptorium_channelserver:latest
Building web
Step 1/14 : FROM python:3.6-stretch
---> 2bb3204ab1d1
Step 2/14 : ENV PYTHONDONTWRITEBYTECODE 1
---> Using cache
---> d76830a076e9
Step 3/14 : ENV PYTHONUNBUFFERED 1
---> Using cache
---> ebd6ce490a62
Step 4/14 : WORKDIR /usr/src/app
---> Using cache
---> 4f73e3d2b5c1
Step 5/14 : RUN apt-get update
---> Using cache
---> 42ec5f576591
Step 6/14 : RUN addgroup --system uwsgi
---> Using cache
---> d3c44f639be5
Step 7/14 : RUN adduser --system --no-create-home --ingroup uwsgi uwsgi
---> Using cache
---> b2bfa7d94795
Step 8/14 : RUN apt-get install netcat-traditional pngcrush
---> Using cache
---> ac0a7185536d
Step 9/14 : RUN pip install --upgrade pip
---> Using cache
---> f414c6e12760
Step 10/14 : COPY ./requirements.txt /usr/src/app/requirements.txt
---> Using cache
---> 80c632919bac
Step 11/14 : RUN pip install -U -r requirements.txt
---> Using cache
---> 962403eb171a
Step 12/14 : COPY ./entrypoint.sh /usr/src/app/entrypoint.sh
---> Using cache
---> 4ecf46b4b7de
Step 13/14 : COPY . /usr/src/app/
---> Using cache
---> 2bb85b7e5273
Step 14/14 : ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
---> Using cache
---> 5bbd5ead81df
Successfully built 5bbd5ead81df
Successfully tagged escriptorium_web:latest
Building nginx
Step 1/3 : FROM nginx:1.15.0-alpine
---> bc7fdec94612
Step 2/3 : RUN rm /etc/nginx/conf.d/default.conf
---> Using cache
---> b866f39a302e
Step 3/3 : COPY nginx.conf /etc/nginx/conf.d
---> Using cache
---> aa6123418c6e
Successfully built aa6123418c6e
Successfully tagged escriptorium_nginx:latest
Building celery-main
Step 1/14 : FROM python:3.6-stretch
---> 2bb3204ab1d1
Step 2/14 : ENV PYTHONDONTWRITEBYTECODE 1
---> Using cache
---> d76830a076e9
Step 3/14 : ENV PYTHONUNBUFFERED 1
---> Using cache
---> ebd6ce490a62
Step 4/14 : WORKDIR /usr/src/app
---> Using cache
---> 4f73e3d2b5c1
Step 5/14 : RUN apt-get update
---> Using cache
---> 42ec5f576591
Step 6/14 : RUN addgroup --system uwsgi
---> Using cache
---> d3c44f639be5
Step 7/14 : RUN adduser --system --no-create-home --ingroup uwsgi uwsgi
---> Using cache
---> b2bfa7d94795
Step 8/14 : RUN apt-get install netcat-traditional pngcrush
---> Using cache
---> ac0a7185536d
Step 9/14 : RUN pip install --upgrade pip
---> Using cache
---> f414c6e12760
Step 10/14 : COPY ./requirements.txt /usr/src/app/requirements.txt
---> Using cache
---> 80c632919bac
Step 11/14 : RUN pip install -U -r requirements.txt
---> Using cache
---> 962403eb171a
Step 12/14 : COPY ./entrypoint.sh /usr/src/app/entrypoint.sh
---> Using cache
---> 4ecf46b4b7de
Step 13/14 : COPY . /usr/src/app/
---> Using cache
---> 2bb85b7e5273
Step 14/14 : ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
---> Using cache
---> 5bbd5ead81df
Successfully built 5bbd5ead81df
Successfully tagged escriptorium_celery-main:latest
Building celery-low-priority
Step 1/14 : FROM python:3.6-stretch
---> 2bb3204ab1d1
Step 2/14 : ENV PYTHONDONTWRITEBYTECODE 1
---> Using cache
---> d76830a076e9
Step 3/14 : ENV PYTHONUNBUFFERED 1
---> Using cache
---> ebd6ce490a62
Step 4/14 : WORKDIR /usr/src/app
---> Using cache
---> 4f73e3d2b5c1
Step 5/14 : RUN apt-get update
---> Using cache
---> 42ec5f576591
Step 6/14 : RUN addgroup --system uwsgi
---> Using cache
---> d3c44f639be5
Step 7/14 : RUN adduser --system --no-create-home --ingroup uwsgi uwsgi
---> Using cache
---> b2bfa7d94795
Step 8/14 : RUN apt-get install netcat-traditional pngcrush
---> Using cache
---> ac0a7185536d
Step 9/14 : RUN pip install --upgrade pip
---> Using cache
---> f414c6e12760
Step 10/14 : COPY ./requirements.txt /usr/src/app/requirements.txt
---> Using cache
---> 80c632919bac
Step 11/14 : RUN pip install -U -r requirements.txt
---> Using cache
---> 962403eb171a
Step 12/14 : COPY ./entrypoint.sh /usr/src/app/entrypoint.sh
---> Using cache
---> 4ecf46b4b7de
Step 13/14 : COPY . /usr/src/app/
---> Using cache
---> 2bb85b7e5273
Step 14/14 : ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
---> Using cache
---> 5bbd5ead81df
Successfully built 5bbd5ead81df
Successfully tagged escriptorium_celery-low-priority:latest
escriptorium_db_1 is up-to-date
escriptorium_redis_1 is up-to-date
escriptorium_mail_1 is up-to-date
Recreating 5267a9166bcc_escriptorium_celery-low-priority_1 ... error
Recreating 37b49da7644d_escriptorium_channelserver_1 ...
Recreating 8905e3ab778c_escriptorium_web_1 ...
Recreating 0bc19009ccf6_escriptorium_celery-main_1 ...
ERROR: for 5267a9166bcc_escriptorium_celery-low-priority_1 Cannot start serviceRecreating 37b49da7644d_escriptorium_channelserver_1 ... error
ptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: for 37b49da7644d_escriptorium_channelserver_1 Cannot start service channelserver: error while mounting volume '/var/lib/docker/volumes/escriptorium_statRecreating 8905e3ab778c_escriptorium_web_1 ... error
/' o='bind': no such file or directory
ERROR: for 8905e3ab778c_escriptorium_web_1 Cannot start service web: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no suchRecreating 0bc19009ccf6_escriptorium_celery-main_1 ... error
ERROR: for 0bc19009ccf6_escriptorium_celery-main_1 Cannot start service celery-main: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: for celery-low-priority Cannot start service celery-low-priority: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: for channelserver Cannot start service channelserver: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: for web Cannot start service web: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: for celery-main Cannot start service celery-main: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: Encountered errors while bringing up the project.
I also tried rebuilding without cache with: sudo docker-compose build --no-cache --pull
, but that did not work out either. Any ideas ?