error creating aufs mount to var lib docker aufs mnt 6c1b42ce1a98b1c0f2da7f1-init invalid argument

0 votes

Hi Guys,

I tried to build one docker image using Docker file. But I got this below error.

error creating aufs mount to /var/lib/docker/aufs/mnt  
/6c1b42ce1a98b1-init: invalid argument
Apr 16, 2020 in Docker by akhtar
• 38,170 points
3,240 views

1 answer to this question.

0 votes

Hi@akhtar,

To solve this error, you have to check if this /var/lib/docker/aufs/mnt is mounted or not. To check you can use mount -l command. 

If the folder is mounted, then follow the bellow given steps.

$ docker stop -f $(docker ps -a -q) //it will stop all the containers.
$ docker rm -f $(docker ps -a -q) //Remove all the containers.
$ docker rmi -f $(docker images -q) //Remove all the images.

Hope this will work.

answered Apr 16, 2020 by MD
• 95,180 points

Related Questions In Docker

0 votes
1 answer

Error “unable to resolve host docker”

This error occurs because its not a ...READ MORE

answered Jul 10, 2018 in Docker by Kalgi
• 2,680 points
2,751 views
0 votes
1 answer

Error saying "build" requires 1 argument. See 'docker build --help'

Try adding a period at the end ...READ MORE

answered Jul 18, 2018 in Docker by Nilesh
• 7,020 points
3,325 views
0 votes
1 answer

Docker error cannot delete docker container, conflict: unable to remove repository reference

First, remove the container names $ sudo docker ...READ MORE

answered Jul 31, 2018 in Docker by Kalgi
• 52,310 points
2,765 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,120 points
1,147 views