Error running circleci snap: invalid bind mount spec


#1

Following the instructions here:

https://circleci.com/docs/2.0/local-cli/#alternative-installing-ubuntu-1604-or-ubuntu-1704

and then trying to validate a simple v2 config file:

cd $HOME
circleci config validate -c gostuff/src/github.com/gopherjs/gopherjs/.circleci/config.yml

I get:

docker: Error response from daemon: invalid bind mount spec "/:/": invalid volume specification: '/:/': invalid mount config for type "bind": invalid specification: destination can't be '/'.
See 'docker run --help'.

$ lsb_release -r -s
17.10

$ snap list
Name           Version           Rev   Tracking  Developer   Notes
circleci       0.0.4705-deba4df  1     stable    circleci    -
core           16-2.32.3         4407  stable    canonical   core
docker         17.06.2-ce        179   stable    docker-inc  -
planet-jumper  2018.02.05        1     stable    niemeyer    -

#2

Can we see the config file? Do you actually have a volume specification that maps host root to container root? I would certainly expect that to fail.


#3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.