{"action":"created","issue":{"url":"https://api.github.com/repos/drone/drone/issues/1352","labels_url":"https://api.github.com/repos/drone/drone/issues/1352/labels{/name}","comments_url":"https://api.github.com/repos/drone/drone/issues/1352/comments","events_url":"https://api.github.com/repos/drone/drone/issues/1352/events","html_url":"https://github.com/drone/drone/issues/1352","id":118955623,"number":1352,"title":"\"/sys/fs/docker: read-only file system\" during docker publish step","user":{"login":"gtaylor","id":75556,"avatar_url":"https://avatars.githubusercontent.com/u/75556?v=3","gravatar_id":"","url":"https://api.github.com/users/gtaylor","html_url":"https://github.com/gtaylor","followers_url":"https://api.github.com/users/gtaylor/followers","following_url":"https://api.github.com/users/gtaylor/following{/other_user}","gists_url":"https://api.github.com/users/gtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/gtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtaylor/subscriptions","organizations_url":"https://api.github.com/users/gtaylor/orgs","repos_url":"https://api.github.com/users/gtaylor/repos","events_url":"https://api.github.com/users/gtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/gtaylor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-11-26T01:51:04Z","updated_at":"2015-12-10T21:30:56Z","closed_at":null,"body":"I'm getting the following during the publish step of my build:\r\n```\r\n[info] Pulling image plugins/drone-docker:develop\r\n$ /usr/bin/docker -d\r\nWARNING: login credentials saved in /.docker/config.json\r\nLogin Succeeded\r\n$ /usr/bin/docker version\r\nClient:\r\nVersion:      1.9.1\r\nAPI version:  1.21\r\nGo version:   go1.4.3\r\nGit commit:   a34a1d5\r\nBuilt:        Fri Nov 20 17:56:04 UTC 2015\r\nOS/Arch:      linux/amd64\r\n\r\nServer:\r\nVersion:      1.9.1\r\nAPI version:  1.21\r\nGo version:   go1.4.3\r\nGit commit:   a34a1d5\r\nBuilt:        Fri Nov 20 17:56:04 UTC 2015\r\nOS/Arch:      linux/amd64\r\n$ /usr/bin/docker info\r\nContainers: 0\r\nImages: 0\r\nServer Version: 1.9.1\r\nStorage Driver: aufs\r\nRoot Dir: /var/lib/docker/aufs\r\nBacking Filesystem: extfs\r\nDirs: 0\r\nDirperm1 Supported: true\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 3.16.0-0.bpo.4-amd64\r\nOperating System: <unknown> (containerized)\r\nCPUs: 4\r\nTotal Memory: 14.72 GiB\r\nName: e835aa85d452\r\nID: HFWA:R2BX:YIZ7:6U3V:F4N2:3KQ5:QJPP:ACQE:3VTK:JLZD:MP4W:XUBS\r\nDebug mode (server): true\r\nFile Descriptors: 12\r\nGoroutines: 19\r\nSystem Time: 2015-11-26T01:34:38.338793049Z\r\nEventsListeners: 0\r\nInit SHA1: \r\nInit Path: /usr/bin/docker\r\nDocker Root Dir: /var/lib/docker\r\nWARNING: No swap limit support\r\nWARNING: bridge-nf-call-iptables is disabled\r\nWARNING: bridge-nf-call-ip6tables is disabled\r\n$ /usr/bin/docker build --pull=true --rm=true -f Dockerfile.prod -t quay.io/aclima/sig-backend-api-server:v1.0.2 .\r\nSending build context to Docker daemon   548 kB\\rSending build context to Docker daemon 1.081 MB\\rSending build context to Docker daemon 1.638 MB\\rSending build context to Docker daemon 2.191 MB\\rSending build context to Docker daemon  2.72 MB\\rSending build context to Docker daemon 3.277 MB\\rSending build context to Docker daemon 3.834 MB\\rSending build context to Docker daemon 4.391 MB\\rSending build context to Docker daemon 4.948 MB\\rSending build context to Docker daemon 5.505 MB\\rSending build context to Docker daemon 6.062 MB\\rSending build context to Docker daemon 6.587 MB\\rSending build context to Docker daemon 7.143 MB\\rSending build context to Docker daemon 7.673 MB\\rSending build context to Docker daemon 8.209 MB\\rSending build context to Docker daemon 8.749 MB\\rSending build context to Docker daemon 9.306 MB\\rSending build context to Docker daemon 9.863 MB\\rSending build context to Docker daemon 10.39 MB\\rSending build context to Docker daemon 10.92 MB\\rSending build context to Docker daemon 11.45 MB\\rSending build context to Docker daemon 11.99 MB\\rSending build context to Docker daemon 12.55 MB\\rSending build context to Docker daemon 13.11 MB\\rSending build context to Docker daemon 13.65 MB\\rSending build context to Docker daemon 14.19 MB\\rSending build context to Docker daemon 14.75 MB\\rSending build context to Docker daemon 15.27 MB\\rSending build context to Docker daemon 15.83 MB\\rSending build context to Docker daemon 16.36 MB\\rSending build context to Docker daemon  16.9 MB\\rSending build context to Docker daemon 17.43 MB\\rSending build context to Docker daemon 17.99 MB\\rSending build context to Docker daemon 18.55 MB\\rSending build context to Docker daemon  19.1 MB\\rSending build context to Docker daemon 19.66 MB\\rSending build context to Docker daemon 20.22 MB\\rSending build context to Docker daemon 20.77 MB\\rSending build context to Docker daemon 21.33 MB\\rSending build context to Docker daemon 21.89 MB\\rSending build context to Docker daemon 22.45 MB\\rSending build context to Docker daemon    23 MB\\rSending build context to Docker daemon 23.56 MB\\rSending build context to Docker daemon 24.12 MB\\rSending build context to Docker daemon 24.67 MB\\rSending build context to Docker daemon 25.23 MB\\rSending build context to Docker daemon 25.76 MB\\rSending build context to Docker daemon  26.3 MB\\rSending build context to Docker daemon 26.84 MB\\rSending build context to Docker daemon 27.39 MB\\rSending build context to Docker daemon 27.95 MB\\rSending build context to Docker daemon 28.51 MB\\rSending build context to Docker daemon 29.07 MB\\rSending build context to Docker daemon 29.62 MB\\rSending build context to Docker daemon 30.18 MB\\rSending build context to Docker daemon 30.74 MB\\rSending build context to Docker daemon 31.29 MB\\rSending build context to Docker daemon 31.85 MB\\rSending build context to Docker daemon 32.41 MB\\rSending build context to Docker daemon 32.93 MB\\rSending build context to Docker daemon 33.49 MB\\rSending build context to Docker daemon 34.01 MB\\rSending build context to Docker daemon 34.57 MB\\rSending build context to Docker daemon 35.13 MB\\rSending build context to Docker daemon 35.66 MB\\rSending build context to Docker daemon 36.21 MB\\rSending build context to Docker daemon 36.74 MB\\rSending build context to Docker daemon 37.29 MB\\rSending build context to Docker daemon 37.85 MB\\rSending build context to Docker daemon  38.4 MB\\rSending build context to Docker daemon 38.96 MB\\rSending build context to Docker daemon 39.52 MB\\rSending build context to Docker daemon 40.04 MB\\rSending build context to Docker daemon 40.59 MB\\rSending build context to Docker daemon 41.12 MB\\rSending build context to Docker daemon 41.65 MB\\rSending build context to Docker daemon 42.21 MB\\rSending build context to Docker daemon 42.74 MB\\rSending build context to Docker daemon 43.29 MB\\rSending build context to Docker daemon 43.84 MB\\rSending build context to Docker daemon  44.4 MB\\rSending build context to Docker daemon 44.96 MB\\rSending build context to Docker daemon 45.51 MB\\rSending build context to Docker daemon 46.07 MB\\rSending build context to Docker daemon 46.63 MB\\rSending build context to Docker daemon 47.19 MB\\rSending build context to Docker daemon 47.74 MB\\rSending build context to Docker daemon  48.3 MB\\rSending build context to Docker daemon 48.86 MB\\rSending build context to Docker daemon 49.41 MB\\rSending build context to Docker daemon 49.97 MB\\rSending build context to Docker daemon 50.53 MB\\rSending build context to Docker daemon 51.09 MB\\rSending build context to Docker daemon 51.64 MB\\rSending build context to Docker daemon  52.2 MB\\rSending build context to Docker daemon 52.76 MB\\rSending build context to Docker daemon 53.31 MB\\rSending build context to Docker daemon 53.87 MB\\rSending build context to Docker daemon 54.43 MB\\rSending build context to Docker daemon 54.96 MB\\rSending build context to Docker daemon 55.51 MB\\rSending build context to Docker daemon 56.07 MB\\rSending build context to Docker daemon 56.62 MB\\rSending build context to Docker daemon 57.17 MB\\rSending build context to Docker daemon 57.69 MB\\rSending build context to Docker daemon 58.23 MB\\rSending build context to Docker daemon 58.79 MB\\rSending build context to Docker daemon 59.34 MB\\rSending build context to Docker daemon  59.9 MB\\rSending build context to Docker daemon 60.43 MB\\rSending build context to Docker daemon 60.98 MB\\rSending build context to Docker daemon 61.54 MB\\rSending build context to Docker daemon  62.1 MB\\rSending build context to Docker daemon 62.65 MB\\rSending build context to Docker daemon 63.18 MB\\rSending build context to Docker daemon 63.73 MB\\rSending build context to Docker daemon 64.26 MB\\rSending build context to Docker daemon  64.8 MB\\rSending build context to Docker daemon 65.33 MB\\rSending build context to Docker daemon 65.86 MB\\rSending build context to Docker daemon 66.42 MB\\rSending build context to Docker daemon 66.98 MB\\rSending build context to Docker daemon 67.53 MB\\rSending build context to Docker daemon 68.09 MB\\rSending build context to Docker daemon 68.65 MB\\rSending build context to Docker daemon 69.21 MB\\rSending build context to Docker daemon 69.76 MB\\rSending build context to Docker daemon 70.32 MB\\rSending build context to Docker daemon 70.88 MB\\rSending build context to Docker daemon  71.4 MB\\rSending build context to Docker daemon 71.96 MB\\rSending build context to Docker daemon 72.48 MB\\rSending build context to Docker daemon 73.01 MB\\rSending build context to Docker daemon 73.56 MB\\rSending build context to Docker daemon 74.12 MB\\rSending build context to Docker daemon 74.68 MB\\rSending build context to Docker daemon 75.24 MB\\rSending build context to Docker daemon 75.79 MB\\rSending build context to Docker daemon 76.35 MB\\rSending build context to Docker daemon 76.91 MB\\rSending build context to Docker daemon 77.43 MB\\rSending build context to Docker daemon 77.98 MB\\rSending build context to Docker daemon 78.51 MB\\rSending build context to Docker daemon 79.04 MB\\rSending build context to Docker daemon 79.59 MB\\rSending build context to Docker daemon 80.15 MB\\rSending build context to Docker daemon 80.67 MB\\rSending build context to Docker daemon 81.23 MB\\rSending build context to Docker daemon 81.79 MB\\rSending build context to Docker daemon 82.35 MB\\rSending build context to Docker daemon  82.9 MB\\rSending build context to Docker daemon 83.46 MB\\rSending build context to Docker daemon 84.02 MB\\rSending build context to Docker daemon 84.57 MB\\rSending build context to Docker daemon 85.13 MB\\rSending build context to Docker daemon 85.68 MB\\rSending build context to Docker daemon 86.21 MB\\rSending build context to Docker daemon 86.77 MB\\rSending build context to Docker daemon 87.33 MB\\rSending build context to Docker daemon 87.88 MB\\rSending build context to Docker daemon 88.42 MB\\rSending build context to Docker daemon 88.97 MB\\rSending build context to Docker daemon  89.5 MB\\rSending build context to Docker daemon 90.02 MB\\rSending build context to Docker daemon 90.55 MB\\rSending build context to Docker daemon 91.07 MB\\rSending build context to Docker daemon 91.61 MB\\rSending build context to Docker daemon 92.13 MB\\rSending build context to Docker daemon 92.66 MB\\rSending build context to Docker daemon 93.18 MB\\rSending build context to Docker daemon 93.72 MB\\rSending build context to Docker daemon 94.24 MB\\rSending build context to Docker daemon 94.77 MB\\rSending build context to Docker daemon  95.3 MB\\rSending build context to Docker daemon 95.82 MB\\rSending build context to Docker daemon 96.37 MB\\rSending build context to Docker daemon 96.93 MB\\rSending build context to Docker daemon 97.46 MB\\rSending build context to Docker daemon    98 MB\\rSending build context to Docker daemon 98.53 MB\\rSending build context to Docker daemon 99.06 MB\\rSending build context to Docker daemon 99.58 MB\\rSending build context to Docker daemon 100.1 MB\\rSending build context to Docker daemon 100.7 MB\\rSending build context to Docker daemon 101.2 MB\\rSending build context to Docker daemon 101.7 MB\\rSending build context to Docker daemon 102.3 MB\\rSending build context to Docker daemon 102.8 MB\\rSending build context to Docker daemon 103.3 MB\\rSending build context to Docker daemon 103.9 MB\\rSending build context to Docker daemon 104.4 MB\\rSending build context to Docker daemon 104.9 MB\\rSending build context to Docker daemon 105.4 MB\\rSending build context to Docker daemon   106 MB\\rSending build context to Docker daemon 106.5 MB\\rSending build context to Docker daemon 107.1 MB\\rSending build context to Docker daemon 107.6 MB\\rSending build context to Docker daemon 108.2 MB\\rSending build context to Docker daemon 108.7 MB\\rSending build context to Docker daemon 109.3 MB\\rSending build context to Docker daemon 109.8 MB\\rSending build context to Docker daemon 110.4 MB\\rSending build context to Docker daemon 110.9 MB\\rSending build context to Docker daemon 111.5 MB\\rSending build context to Docker daemon   112 MB\\rSending build context to Docker daemon 112.6 MB\\rSending build context to Docker daemon 113.1 MB\\rSending build context to Docker daemon 113.7 MB\\rSending build context to Docker daemon 114.2 MB\\rSending build context to Docker daemon 114.7 MB\\rSending build context to Docker daemon 115.3 MB\\rSending build context to Docker daemon 115.8 MB\\rSending build context to Docker daemon 116.4 MB\\rSending build context to Docker daemon 116.9 MB\\rSending build context to Docker daemon 117.4 MB\\rSending build context to Docker daemon 117.9 MB\\rSending build context to Docker daemon 118.5 MB\\rSending build context to Docker daemon   119 MB\\rSending build context to Docker daemon 119.6 MB\\rSending build context to Docker daemon 120.1 MB\\rSending build context to Docker daemon 120.6 MB\\rSending build context to Docker daemon 121.2 MB\\rSending build context to Docker daemon 121.7 MB\\rSending build context to Docker daemon 122.2 MB\\rSending build context to Docker daemon 122.8 MB\\rSending build context to Docker daemon 123.3 MB\\rSending build context to Docker daemon 123.9 MB\\rSending build context to Docker daemon 124.4 MB\\rSending build context to Docker daemon   125 MB\\rSending build context to Docker daemon 125.5 MB\\rSending build context to Docker daemon   126 MB\\rSending build context to Docker daemon 126.6 MB\\rSending build context to Docker daemon 127.1 MB\\rSending build context to Docker daemon 127.7 MB\\rSending build context to Docker daemon 128.2 MB\\rSending build context to Docker daemon 128.7 MB\\rSending build context to Docker daemon 129.2 MB\\rSending build context to Docker daemon 129.8 MB\\rSending build context to Docker daemon 130.3 MB\\rSending build context to Docker daemon 130.9 MB\\rSending build context to Docker daemon 131.4 MB\\rSending build context to Docker daemon   132 MB\\rSending build context to Docker daemon 132.5 MB\\rSending build context to Docker daemon 133.1 MB\\rSending build context to Docker daemon 133.6 MB\\rSending build context to Docker daemon 134.2 MB\\rSending build context to Docker daemon 134.3 MB\\rSending build context to Docker daemon 134.3 MB\\r\\r\r\nStep 1 : FROM python:2.7\r\n2.7: Pulling from library/python\r\n1565e86129b8: Pulling fs layer\r\na604b236bcde: Pulling fs layer\r\n5822f840e16b: Pulling fs layer\r\n107e487a8c94: Pulling fs layer\r\na8b24eb79c37: Pulling fs layer\r\n589101c4f19b: Pulling fs layer\r\n4b8716fc8ea9: Pulling fs layer\r\n8138fde93b87: Pulling fs layer\r\n6992b75b417e: Pulling fs layer\r\nffafd4baeefc: Pulling fs layer\r\na17b57371504: Pulling fs layer\r\ned6c56b24398: Pulling fs layer\r\n58f3d9f818bf: Pulling fs layer\r\na604b236bcde: Verifying Checksum\r\na604b236bcde: Download complete\r\n8138fde93b87: Verifying Checksum\r\n8138fde93b87: Download complete\r\n6992b75b417e: Verifying Checksum\r\n6992b75b417e: Download complete\r\nffafd4baeefc: Verifying Checksum\r\nffafd4baeefc: Download complete\r\n4b8716fc8ea9: Verifying Checksum\r\n4b8716fc8ea9: Download complete\r\n58f3d9f818bf: Verifying Checksum\r\n58f3d9f818bf: Download complete\r\n589101c4f19b: Verifying Checksum\r\n589101c4f19b: Download complete\r\ned6c56b24398: Verifying Checksum\r\ned6c56b24398: Download complete\r\na17b57371504: Verifying Checksum\r\na17b57371504: Download complete\r\n5822f840e16b: Verifying Checksum\r\n5822f840e16b: Download complete\r\n107e487a8c94: Verifying Checksum\r\n107e487a8c94: Download complete\r\n1565e86129b8: Verifying Checksum\r\n1565e86129b8: Download complete\r\na8b24eb79c37: Verifying Checksum\r\na8b24eb79c37: Download complete\r\n1565e86129b8: Pull complete\r\na604b236bcde: Pull complete\r\n5822f840e16b: Pull complete\r\n107e487a8c94: Pull complete\r\na8b24eb79c37: Pull complete\r\n589101c4f19b: Pull complete\r\n4b8716fc8ea9: Pull complete\r\n8138fde93b87: Pull complete\r\n6992b75b417e: Pull complete\r\nffafd4baeefc: Pull complete\r\na17b57371504: Pull complete\r\ned6c56b24398: Pull complete\r\n58f3d9f818bf: Pull complete\r\nDigest: sha256:ff09fd2612df7148d06759fed64f0f63c9b5780d78fa90eb5be43a5a4442469e\r\nStatus: Downloaded newer image for python:2.7\r\n---> 58f3d9f818bf\r\nStep 2 : MAINTAINER Greg Taylor <greg.taylor@aclima.io>\r\n---> Running in 62ebfbab2510\r\n---> 49a2b0a21b24\r\nRemoving intermediate container 62ebfbab2510\r\nStep 3 : RUN apt-get update && apt-get -y install build-essential libprotobuf-dev     python-dev libffi-dev libssl-dev libev-dev protobuf-compiler     libtool libpcre3 libpcre3-dev libopenblas-dev liblapack-dev libatlas-dev     gfortran libmysqlclient-dev\r\n---> Running in 3b4d067f8275\r\n[8] System error: mkdir /sys/fs/docker: read-only file system\r\n```\r\n\r\nHere is my .drone.yml:\r\n\r\n```\r\nbuild:\r\n  image: python:2.7.10\r\n  environment:\r\n    - ACLIMA_SKIP_CASSANDRA_TESTS=\"0\"\r\n  commands:\r\n    - apt-get update\r\n    - apt-get -y install aufs-tools build-essential libprotobuf-dev python-dev libffi-dev libssl-dev libev-dev protobuf-compiler libtool libpcre3 libpcre3-dev libopenblas-dev liblapack-dev libatlas-dev gfortran libmysqlclient-dev\r\n    - mkdir dbuild\r\n    - cp -r /usr/local/lib/python2.7/site-packages/ dbuild/\r\n    - cp -r /usr/local/bin/ dbuild/\r\n\r\ncompose:\r\n  cassandra:\r\n    image: cassandra:2.1.10\r\n\r\npublish:\r\n  docker:\r\n    # Use the beta plugin.\r\n    image: plugins/drone-docker:develop\r\n    environment:\r\n      - DOCKER_LAUNCH_DEBUG=true\r\n    registry: quay.io\r\n    username: $$QUAY_USERNAME\r\n    password: $$QUAY_PASSWORD\r\n    email: ci@aclima.io\r\n    repo: aclima/sig-backend-api-server\r\n    tag: $$TAG\r\n    file: Dockerfile.prod\r\n    when:\r\n      event: tag\r\n```\r\n\r\nAnd here is my Dockerfile.prod:\r\n```\r\nFROM python:2.7\r\nMAINTAINER Greg Taylor <greg.taylor@aclima.io>\r\n\r\nRUN apt-get update && apt-get -y aufs-tools install build-essential libprotobuf-dev \\\r\n    python-dev libffi-dev libssl-dev libev-dev protobuf-compiler \\\r\n    libtool libpcre3 libpcre3-dev libopenblas-dev liblapack-dev libatlas-dev \\\r\n    gfortran libmysqlclient-dev\r\n\r\nRUN rm -rf /usr/local/lib/python2.7/site-packages && rm -rf /usr/local/bin\r\nCOPY dbuild/site-packages /usr/local/lib/python2.7/site-packages\r\nCOPY dbuild/bin /usr/local/bin\r\n\r\nCMD /usr/local/bin/uwsgi\r\n```\r\n\r\nI've tried installing aufs-tools on the build step AND the Dockerfile with no avail. "},"comment":{"url":"https://api.github.com/repos/drone/drone/issues/comments/163755182","html_url":"https://github.com/drone/drone/issues/1352#issuecomment-163755182","issue_url":"https://api.github.com/repos/drone/drone/issues/1352","id":163755182,"user":{"login":"gtaylor","id":75556,"avatar_url":"https://avatars.githubusercontent.com/u/75556?v=3","gravatar_id":"","url":"https://api.github.com/users/gtaylor","html_url":"https://github.com/gtaylor","followers_url":"https://api.github.com/users/gtaylor/followers","following_url":"https://api.github.com/users/gtaylor/following{/other_user}","gists_url":"https://api.github.com/users/gtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/gtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtaylor/subscriptions","organizations_url":"https://api.github.com/users/gtaylor/orgs","repos_url":"https://api.github.com/users/gtaylor/repos","events_url":"https://api.github.com/users/gtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/gtaylor/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T21:30:56Z","updated_at":"2015-12-10T21:30:56Z","body":"@bradrydzewski looks like the debug flag turned up that overlay isn't supported:\r\n```\r\n$ /usr/bin/docker -d -s overlay\r\nWarning: '-d' is deprecated, it will be removed soon. See usage.\r\ntime=\"2015-12-10T21:28:35Z\" level=warning msg=\"please use 'docker daemon' instead.\" \r\ntime=\"2015-12-10T21:28:35.169616618Z\" level=error msg=\"'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.\" \r\ntime=\"2015-12-10T21:28:35.169686307Z\" level=fatal msg=\"Error starting daemon: error initializing graphdriver: driver not supported\" \r\nCannot connect to the Docker daemon. Is the docker daemon running on this host?\r\nLogin failed.\r\n```\r\nGKE runs a more conservative kernel version. Can I get around all of this with a remote worker, or is this container always fired up within the Drone container?"}}