I"m trying to run the “demo” container in my local Ubuntu box as instructed here (sorry can’t use links):
As soon as I execute the following command
circleci local execute build I get an error when the postgres container is being created:
Fetching latest build environment... Docker image digest: sha256:15e0f186167e1678cc158263ccf805cef74af3ab6c3273703b3fde0fe0ad5c50 ====>> Spin up environment Build-agent version () System information: Server Version: 23.0.6 Storage Driver: overlay2 Backing Filesystem: extfs Cgroup Driver: systemd Cgroup Version: 2 Kernel Version: 5.19.0-41-generic Operating System: Ubuntu 22.04.2 LTS OSType: linux Architecture: x86_64 Starting container circleci/golang:1.12 Warning: No authentication provided, using CircleCI credentials for pulls from Docker Hub. image is cached as circleci/golang:1.12, but refreshing... circleci/golang:1.12: using image circleci/golang@sha256:ae191834590b2cdee6ca9bb6985f02e05b3f9b326536f83494f788889481b408 pull stats: Image was already available so the image was not pulled time to create container: 27ms Starting container circleci/postgres:12.1-alpine 1.12: Pulling from circleci/golang Digest: sha256:ae191834590b2cdee6ca9bb6985f02e05b3f9b326536f83494f788889481b408 Status: Image is up to date for circleci/golang:1.12 Creating Docker containers in parallel ....Error: error starting container circleci/postgres:12.1-alpine: Error response from daemon: invalid UTS mode: containerf7fff5f72e9a17d29dfa6084ca4d2013c4578d71f5607715b83edce17d695687 Error: Unexpected environment preparation error: Error response from daemon: invalid UTS mode: containerf7fff5f72e9a17d29dfa6084ca4d2013c4578d71f5607715b83edce17d695687 Step failed
There seems to be a post in StackOverflow from another person experiencing the same but not many responses. Wondering if this could be something specific to Ubuntu?
hello world and other docker images from the hub work just fine. Only CircleCI images seem to have this problem. I’m trying to debug something locally for our build environment custom image but of course I can’t even get past the part of running the “demo” one from CircleCI. Trying to run steps from our build setup raises the same error.
Thanks in advance!