Skip to content

Tag: docker

Local CircleCI reports “Unexpected environment preparation error: error looking up self container id: Found multiple cgroups for outer container”

I am getting the following error when I run circleci build locally on Ubuntu 18.04. The build runs perfectly inside the hosted CircleCI. CircleCI version: Docker-ce version: I installed Docker exactly as specified on the website, including setting the usergroup. I used the instructions here to install CircleC…

Passing environment variables not working with Docker

I am learning how to pass environment variables to Docker containers. While the following works fine, Dockerfile Build & run commands docker ps -a gives docker logs 2a3a69aa7868 gives The following doesn’t work Dockerfile Build & run commands Here the run command gives this, While docker ps -a g…

How to pass additional arguments for docker daemon

I have under /etc/sysconfig/docker , the following configuration :- Now I am using docker version 17.03.1-ce on Red Hat Enterprise Linux Server release 7.4 and default storage driver as overlay that is causing lot of build issues due to :- After doing a bit of research on the internet figured out to get rid o…