I tried to create an environment using the following ch command
ch create csci104 --image usccsci104/docker:20.04 --shell /bin/bash --volume "/Users/username/Documents/csci104:/work" --security-opt seccomp:unconfined --cap-add SYS_PTRACE --privileged --replace
but I am getting the following error.
Cannot create new environment. Error from Dockerfile build: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
When I manually tried to build a docker using docker build -t myimage ., it seems to work.
Any advice? Thanks.
I tried to create an environment using the following
ch
commandch create csci104 --image usccsci104/docker:20.04 --shell /bin/bash --volume "/Users/username/Documents/csci104:/work" --security-opt seccomp:unconfined --cap-add SYS_PTRACE --privileged --replace
but I am getting the following error.
Cannot create new environment. Error from Dockerfile build: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
When I manually tried to build a docker using
docker build -t myimage .
, it seems to work. Any advice? Thanks.