CircleCI CLI: Error response from daemon: invalid UTS mode

I’m experiencing the exact same problem on the pgcat repo (postgresml/pgcat). As you see on this repo, CircleCI works fine. But if I checkout this repo and try to run locally using these command:

circleci config process .circleci/config.yml > process.yml
circleci local execute -c process.yml build

It fails with this error output:

√ pgcat % circleci config process .circleci/config.yml > process.yml

√ pgcat % circleci local execute -c process.yml build               
Fetching latest build environment...
Docker image digest: sha256:008ba7f4223f1e26c11df9575283491b620074fa96da6961e0dcde47fb757014
====>> Spin up environment
Build-agent version  ()
System information:
 Server Version: 23.0.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Kernel Version: 5.15.49-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64

Starting container ghcr.io/postgresml/pgcat-ci:latest
  image is cached as ghcr.io/postgresml/pgcat-ci:latest, but refreshing...
ghcr.io/postgresml/pgcat-ci:latest:
  using image ghcr.io/postgresml/pgcat-ci@sha256:9097e06055cee3c25ebfcc7f71d3413e68125d1653ad1e31fcff0e7a49adcc67
  pull stats: Image was already available so the image was not pulled
  time to create container: 76ms
Starting container postgres:14
Starting container postgres:14
Starting container postgres:14
Starting container postgres:14
Starting container postgres:14
Error:   error starting container postgres:14: Error response from daemon: invalid UTS mode: containera4e4804657980605d031801469af669e540d8629ec7a0f4d108ab5434145ff58

Error:   error starting container postgres:14: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/create": context canceled

Error:   error starting container postgres:14: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/create": context canceled

Error:   error starting container postgres:14: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/create": context canceled

Error:   error starting container postgres:14: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/create": context canceled

latest: Pulling from postgresml/pgcat-ci
Digest: sha256:9097e06055cee3c25ebfcc7f71d3413e68125d1653ad1e31fcff0e7a49adcc67
Status: Image is up to date for ghcr.io/postgresml/pgcat-ci:latest
Error: 
Unexpected environment preparation error: Error response from daemon: invalid UTS mode: containera4e4804657980605d031801469af669e540d8629ec7a0f4d108ab5434145ff58

Step failed
Task failed
Error: Unhandled prepare executor error: Error response from daemon: invalid UTS mode: containera4e4804657980605d031801469af669e540d8629ec7a0f4d108ab5434145ff58

2 Likes