CircleCI CLI on Linux system issues

cli

#1

When using the CircleCI CLI on Fedora or Red Hat based systems, you will get:

circleci -t latest build
[WARN] Using circleci: circleci/picard:latest Error: error reading config file at .circleci/config.yml: open .circleci/config.yml: permission denied

This is because the mounts are not properly setting a z or Z on the volume mounts. The workaround is to manually change the selinux context, based on http://www.projectatomic.io/blog/2015/06/using-volumes-with-docker-can-cause-problems-with-selinux/

Additionally, if you do not include the -t latest option:

circleci build

/usr/bin/docker-current: Error parsing reference: "circleci/picard@sha256:dae0c12a67ece242e882afb6bfcd64d968d14c25219ac9968d5223c0be169876:" is not a valid repository/tag: invalid reference format.
See '/usr/bin/docker-current run --help'.

Permission denied when running circleci job
CircleCI CLI: “circleci/picard@sha256:…:” is not a valid repository/tag
#2

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