I installed docker using snap on Ubuntu 19.04 and ensured that my user has access to the docker group. My Dockerfile is as follows:
FROM ubuntu:18.04
RUN apt-get update
I issue this command:
docker build .
And I get this output:
Sending build context to Docker daemon 3.584kB
Step 1/2 : FROM ubuntu:18.04
---> d131e0fa2585
Step 2/2 : RUN apt-get update
---> Running in 1e6a5d173b4c
OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:109: jailing process inside rootfs caused \\\"permission denied\\\"\"": unknown
Anyone have any ideas what might be causing this?