concourse: concourse-worker - error - volume graph is disabled

CMD: fly -t web watch --job hello-world/hello-world targeting http://IP:PORT

Response: initializing volume graph is disabled errored

Cant find this issue anywhere…

Dockerfile FROM ubuntu:14.04 ENV CONCOURSE_DISTURL https://github.com/concourse/bin/releases/download ENV CONCOURSE_VERSION 1.2.0-rc.9 RUN apt-get update &&
apt-get install -y iptables ca-certificates aufs-tools wget &&
apt-get clean &&
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* &&
mkdir /opt/concourse &&
mkdir /opt/concourse/bin &&
cd /opt/concourse/bin/ &&
wget -q https://github.com/vito/bin/releases/download/v1461709990/concourse_linux_amd64 &&
apt-get remove wget -y && apt-get autoremove -y &&
apt-get clean
mkdir /opt/concourse/conf &&
chmod +x /opt/concourse/bin/* WORKDIR /opt/concourse COPY bin/concourse-worker.sh /opt/concourse/bin/ COPY sample/ ./ CMD /opt/concourse/bin/concourse-worker.sh

concourse-worker.sh

!/bin/sh

set -e ip=$(hostname --ip-address) CONCOURSE_HOME=/opt/concourse PATH=$PATH:$CONCOURSE_HOME/bin concourse_linux_amd64 worker
–work-dir $CONCOURSE_HOME/worker
–tsa-host 172.20.232.190
–tsa-port 10703
–tsa-public-key host_key.pub
–tsa-worker-private-key worker_key

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (4 by maintainers)

Commits related to this issue

Most upvoted comments

@renier It is optional for platforms other than linux.

Closing this for now since it’s really just led into other issues which should be opened on their own.

The volume graph is disabled error means one of two things:

  1. A task specified image: docker:/// or image: /foo/bar (less likely)
  2. A task did not specify an image at all.

Tasks should be using image_resource instead. This is an intentional change for the binary distribution; image_resource was introduced a while ago and image isn’t worth supporting (it leads to disk usage leaks, bad UX, and portability headaches).

@vito maybe the error message could be a bit more explicit instead of “volume graph is disabled” what about:

Error occurred because either:

  1. A task specified image: docker:/// or image: /foo/bar
  2. A task did not specify an image at all.