Docker Community Forums

Share and learn in the Docker community.

Docker Errors : error checking context: 'can't stat '/home/xyz/docker_experiments''


(Yucele) #1

I’m running docker [Docker version 17.06.2-ce, build a04f55b] on an Ubuntu machine.

Simply carrying out a very simple exercise from docker in order to build a docker image : https://docs.docker.com/get-started/part2/#apppy

On running the following command

sudo docker build -t friendlyhello .

I get the following error

error checking context: 'can't stat '/home/xyz/docker_experiments''.

I understand this is something to do with apparmour and permissions.