`docker run` consistently fails after updating to CircleCI 2.0


#1

I get the following error when using Docker with setup_remote_docker with image node:6.9.4 on Ubuntu 14.04. Reproduced with the latest Docker client, Docker client v17.03.0-ce, and Docker client v1.9.1. Haven’t tested without the mounted volume, so it could be related to that.

$ docker run -v ${HOME}/cyph:/cyph ${DOCKER_IMAGE} bash -c '
    source ~/.bashrc;
    /cyph/commands/build.sh;
'
Shell: /bin/bash -eo pipefail

container_linux.go:247: starting container process caused "chdir to cwd (\"/cyph/commands\") set in config.json failed: no such file or directory"
Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"chdir to cwd (\\\"/cyph/commands\\\") set in config.json failed: no such file or directory\"\n"
Exited with code 1

#2

You can’t mount volumes on the base Docker executor.


#3