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,220 points

1 answer to this question.

0 votes


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,320 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
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,040 points
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,370 points
+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,140 points